CJCoding With Joseph
15free / daySign inCreate account

Celsius To Fahrenheit Function

Complete celsius_to_fahrenheit(celsius: float) -> float so it returns the temperature converted with the formula multiply by 9, divide by 5, then add 32. The driver reads one number and prints what the function returns; leave it alone. Input: one line, a temperature in Celsius, no prompt. Output: the Fahrenheit value as Python prints a float.

Expected Output:

212.0

= newline. The output ends with a newline — print one after the last line.

Hints2 available
Topics:
Functions
📥 Auto-Input:
100\n
This input is automatically fed to your program's stdin
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.