You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# Python Program to convert temperature in celsius to fahrenheit
|
|
|
|
# change this value for a different result
|
|
celsius = 37.5
|
|
|
|
# calculate fahrenheit
|
|
fahrenheit = (celsius * 1.8) + 32
|
|
print('%0.1f degree Celsius is equal to %0.1f degree Fahrenheit' %(celsius,fahrenheit)) |