Hi, grateful if anyone can shed some light on this, thank you!
Given the following code, why should both lines 3 and 4 be surrounded by try block, rather than simply line 3?
1 | temp = “5 degrees”
2 | cel = 0
3 | fahr = float(temp)
4 | cel = (fahr - 32.0) * 5.0 / 9.0
5 | print(cel)