6 months ago
6 lines415 B
Exercises: lesson 9
- Time yourself: rewrite the example from memory in 10 minutes, then diff it against the original.
- What happens with an empty input? Change the code so it handles that case with a clear message.
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- Explain the example to someone who hasn't taken the course. Which part was hardest to explain?