► Python Program to Convert Celsius to Kelvin
Steps followed:
1. Take temperature input from user in Celsius
2. use below formula to convert Celsius To Kelvin
Temp in Kelvin = Temp in Celsius + 273.15
3. print the result
#Python Program to Convert Celsius to Kelvin
# Take temperature input from user in Celsius
temp_in_celsius = float(input("provide temperature input in Celsius: "))
# convert Celsius To Kelvin
temp_in_kelvin = temp_in_celsius + 273.15
#printing the result
print('%0.2f degree celsius is equal to %0.2f degree kelvin' %(temp_in_celsius,temp_in_kelvin))
provide temperature input in Celsius: 20
20.00 degree celsius is equal to 293.15 degree kelvin
provide temperature input in Celsius: 100
100.00 degree celsius is equal to 373.15 degree kelvin
provide temperature input in Celsius: 378
378.00 degree celsius is equal to 651.15 degree kelvin