AnswerBox
Python

Convert Celsius to Fahrenheit

Description:
Convert a temperature from Celsius to Fahrenheit.
Python Code
def celsius_to_fahrenheit(c):
    return (c * 9/5) + 32

temps = [0, 25, 37, 100]
for t in temps:
    print(str(t) + " C = " + str(celsius_to_fahrenheit(t)) + " F")
Expected Output
0 C = 32.0 F 25 C = 77.0 F 37 C = 98.6 F 100 C = 212.0 F