Created
July 13, 2019 16:54
-
-
Save jatinsharrma/e37f2f8b6dbcf8c61f8e40403a6d7090 to your computer and use it in GitHub Desktop.
Python program that converts temperature in Celsius to Fahrenheit and vice versa. Implement the requirements using functions.
This file contains hidden or 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
def temprature(temp): | |
celsius = (temp - 32)*(5/9) | |
return(celsius) | |
print(temprature(10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment