Python code error 18/7/22

Can you spot the Python coding error in this Heatwave alert themed code? There is at least 1 error for you to find.

Please note that this is an extract of code, with some values taken from the Met Office website. This code could be extended to include all regions, and include whether the temperature had hit these values (for a level 3 alert).

Click where you think the errors are. If you get it right an explanation will appear below the image.

Indentation

If you think code should be indented more to the left, click to the left of the code, if you think code should be indented more to the right, click to the right of the code.

Help (Click to expand)

YouTube player
WAIT! You aren’t logged in.
By logging in you can earn CS points and keep track of what you have done. Do you want to:

Login    

Join Now