Weather Station
Your weather station receives a temperature reading and needs to post a one-word forecast. Turn the raw number into the right category.
For each reading, set the message variable to "Hot", "Warm", "Cool", or "Cold" using if, elif, and else.
Rules (in °C):
temp >= 30 → "Hot"
temp >= 15 → "Warm"
temp >= 5 → "Cool"
- everything else →
"Cold"
Your code runs once for each of the 5 readings. Watch the thermometer climb and the panel flash — green means the right forecast, red means the wrong one. All 5 must be correct to pass.
Hint: Order matters. Check the highest threshold first, or a hot day will get caught by an earlier elif.