Temperature converter in python

This little code will help you to convert from farenheit to celcius and it also tells you if at that temperature water can be boiled !

here it is!:

f= float(input(“Cual es la cantidad que quieres convertir de grados Farenheit a Celcius?:  ”))
print(“La cantidad elegida es:  ”,f,)
c=(5*((f-32)/9))
print(“La cantidad en celcius es:  ”,c,)
if c<100:
print(“El agua no hierve a esa temperatura”)
else:
print(“El agua si puede hervir a esta temperatura”)

CC BY 4.0 Temperature converter in python by Guillermo Gomez is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.