-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
The program:
Write your solution here
T_Fahr = int(input("What temperature is it in Fahrenheit? "))
T_Celsius = (T_Fahr - 32) * 5/9
print(f"{T_Fahr} degrees Fahrenheit equals {T_Celsius} degrees Celcius")
if T_Celsius < 0:
print("Brr! It's cold in here!")
Results in the test in:
FAIL: PythonEditorTest: test_1_zero
Your program should print out
32 degrees Fahrenheit equals 0.0 degrees Celsius
when input is 32, but now print out is
32 degrees Fahrenheit equals 0.0 degrees Celcius
The result of the program and what the program should do are the same so where is the issue.
Metadata
Metadata
Assignees
Labels
No labels