Created
November 4, 2021 16:45
-
-
Save moulik-source/fa1e45af60c2a655ed881365a0b31f4f to your computer and use it in GitHub Desktop.
Celsius to Fahrenheit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment