Write a program temp_converter.py
that stores the value 72 in a variable temp_fahrenheit
, and then uses a formula to convert that to a new value stored in the variable temp_celsius
. Print out the result of the temperature conversion.
The formula for converting from Fahrenheit to Celsius is:
C = (5/9) * (F - 32)
Sample output:
The current temperature is 72 Fahrenheit.
The equivalent temperature in degrees Celsius is 22.2222222222