what is the right answer for this exercise below?(https://www.freecodecamp.org/learn/scientific-computing-with-python/python-for-everybody/more-conditional-structures)
shouldn’t be only line 3? how come the answer is line 3 & 4? line 4 should be ok if line 3 is correct, as fahr would be a float.
Given the following code:
temp = “5 degrees”
cel = 0
fahr = float(temp)
cel = (fahr - 32.0) * 5.0 / 9.0
print(cel)
Which line/lines should be surrounded by try
block?