Go to the Oh No! Broken Code! GitHub repo and follow the instructions in the README on that page.
Fix the code to do what it asks (or improve it even further!). If you get stuck, the resources below should help:
If you need help with the above exercise, the following Python syntax references should help:
- Variables
- Reassignment
- Statements and Expressions
- Operators and Operands
- True and False
- And, Or, Not
- For Loop 1 and 2
- Functions
- Functions That Return Values
- Functions That Return Booleans
- Functions That Call Other Functions
- While Loops
- List Values
- Lists and For Loops
- Dictionaries 1 and 2
- Tuples
- Returning Tuples