You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: