Find All the Syntax Errors
Python
20 pts
Find All the Syntax Errors
This weather program has three syntax mistakes: a missing colon, a wrong capital letter and wrong indentation. Fix all three so it prints:
Hot day in Massawa Stay cool Forecast finished
Checklist
- Keep the values of
cityandtemperature. - Fix the three syntax mistakes so the program prints the forecast.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
