Python program to convert fahrenheit to celsius
50372
Following program shows you how to convert fahrenheit to celsius.
In this program we get fahrenheit temperature from user and convert that fahrenheit temperature into celsius using following formulaCelsius = (fahrenheit - 32) * 5 / 9
temperature = float(input("Please enter temperature in fahrenheit:"))
celsius = (temperature - 32) * 5 / 9
print("Temperature in celsius: " , celsius)
Output:
Please enter temperature in fahrenheit: 44
Temperature in celsius: 6.666666666666667