DevJourney

Python/VIT/sem-1/ex-04/c-to-k-&-f.py

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))
View on GitHub