1 year ago
5 lines317 B
Exercises: lesson 6
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- What happens with an empty input? Change the code so it handles that case with a clear message.
- Time yourself: rewrite the example from memory in 10 minutes, then diff it against the original.