Deviopath › Python

Celsius to Fahrenheit

Easy · Numbers

The formula is F = C * 9 / 5 + 32. In Python, / always gives a float. The built-in round(x, 1) rounds a number to 1 decimal place.

Write a function to_fahrenheit(celsius) that converts a temperature to Fahrenheit, rounded to 1 decimal place.

Next: Largest of Three