Run
# Function that converts F to C def fahrenheitToCelsius(f): return (f - 32) * 5 / 9 if __name__ == "__main__": # Given Fahrenheit f = 98.6 # Convert Fahrenheit to Celsius c = fahrenheitToCelsius(f) print(f"{f} Fahrenheit is equal to {c} Celsius")
Output