Question | Function Introductions
Define temperature_converter
, which takes a temperature in Fahrenheit, f_temp
and returns the same temperature, but in Celsius.
The equation for converting from Fahrenheit to Celsius is:
- Temperature in Fahrenheit - 32
- Times 5
- Divided by 9.
def temperature_converter(f_temp):
"""
>>> celsius_temp1 = temperature_converter(32)
>>> celsius_temp1
0.0
"""
## YOUR CODE HERE ##