Python Program to Convert from Fahrenheit to Celsius
Write Python Program to Convert from Fahrenheit to Celsius
# Python Program to Convert from Fahrenheit to Celsius # get the fahrenhit fahr = float(input("Enter Fahrenheit :--> ")) cel = (fahr - 32) * 5 / 9 # formula to convert print("Temperature in Celsius : ", cel)
Output:
Enter Fahrenheit :--> 40
Temperature in Celsius : 4.444444444444445