Created
March 3, 2015 01:20
-
-
Save gilrg18/c842a8cc9a585de5b059 to your computer and use it in GitHub Desktop.
wsq05.py
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
f=int(input("Give me the temperature in Farenheit that you want to convert to Celsius: ")) | |
c= 5*(f-32)/9 | |
print("The temperature in Celsius is: ", int(c)) ###i put the c in a parenthesis using an int so it gives the value without decimals | |
if c>=100: | |
print ("Water boils at this temperature") ###note that you have to ident this line in order for this to work | |
else: | |
print ("Water does not boil at this temperature") ###note that u have to ident this line in order for this to work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment