Python Conditional Structures - dissecting the answer

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)

Welcome, fxmichelle.

I suggest you run a few tests:

Hope this helps

Hi @Sky020, you’re right, it slipped my mind.
Will be running the trials, thank you.