5 months ago
6 lines419 B
Exercises: lesson 4
- Add a comment above each block explaining what it does, in your own words.
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- Break the example on purpose: delete a bracket or misspell a name. Read the error message. Which line does it point to?
- Time yourself: rewrite the example from memory in 10 minutes, then diff it against the original.