Lesson 4: one more exercise

Mira Kovac 1 year ago
parent cb66ad52f4 commit 4822bdc40504e65f52cab62bd3c9192519b424f7
1 changed files with 1 additions and 0 deletions
+1-0lessons/04-loops-that-do-the-work/exercises.md
@@ -3,3 +3,4 @@
33 1. Time yourself: rewrite the example from memory in 10 minutes, then diff it against the original.
44 2. Add a check that prints a warning when a result looks wrong (negative, empty, too big).
55 3. Rewrite the main part so it runs twice with two different inputs, without copying the code.
6+4. Run `loops.py` and change one value. Write down what you expect, then run it again and compare.