Lesson 4: one more exercise

Mira Kovac 5 months ago
parent d21bb86937 commit e1215eac92ed2a3812b3a508da996a703210caa0
1 changed files with 1 additions and 0 deletions
+1-0lessons/04-slices/exercises.md
@@ -3,3 +3,4 @@
33 1. Add a comment above each block explaining what it does, in your own words.
44 2. Rewrite the main part so it runs twice with two different inputs, without copying the code.
55 3. Break the example on purpose: delete a bracket or misspell a name. Read the error message. Which line does it point to?
6+4. Time yourself: rewrite the example from memory in 10 minutes, then diff it against the original.