New course! Every coder should learn Generative AI!
Try a free lesson0
this code converts fahrenheit to celsius:
f = int(input("Enter a Temperatur in Fahrenheit:")) #f = fahrenheit
celsius = (f - 32) / 1.8
print("\nTemperatur in celsius =", celsius )