# take inputs
cel = float(input())
# find temprature in Kelvin
kelvin = cel + 273.15
# print temperature in Kelvin
print('%0.1f degrees Celsius is equivalent to %0.1f Kelvin' %(cel, kelvin))
Celsius to Kelvin
Program to Convert Celsius to Kelvin in Python
0 Comments
Add Comment
Log in to add a comment