13. Python Program to convert Temperature in Fahrenheit into Celsius.
How does this program work?
- In this program you will learn about how to convert temperature of city in Fahrenheit into Celsius using Python.
- In this program we can easily convert temperature in fahrenheit into celsius by using given formula.
- This program perform mathematical calculation and display the result.
Here is the code
Fahrenheit = int( input("Enter a temperature in Fahrenheit: "))
Celsius = (Fahrenheit - 32) * 5.0/9.0
print("Temperature in Celsius:", Celsius, " C")