DevJourney · code I wrote while learning

c-to-k-&-f.py

185 B
tempC = float(input("Enter temperature in Celcius : "))
tempK = tempC + 273.15
tempF = tempC * (9 / 5) + 32
print("{0}°C is equivalent to {1}K and {2}°F".format(tempC, tempK, tempF))