Displaying Shapes
Fahrenheit to Celsius Conversion
T°C = (T°F - 32) * 5/9
Converting 80 °F to °C
(80 - 32) * 5 / 9
Output: 26.66 (°C)
def fahrenheit_to_celsius(fahrenheit):
return (fahrenheit - 32) * 5 / 9
print(fahrenheit_to_celsius(80))