1 min read
Thanks to this WSQ i learned to apply an if function in python, i used this link to know the boiling point of water 🙂 http:/
This link also helped me to know better about the if function and other stuff in python. http:/
Here’s my code.
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
#TC1014 #WSQ05 Temperature by Gilberto Rogel García is licensed under a Creative Commons Attribution 4.0 International License.