5 lines307 B
Exercises: lesson 2
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- Add a check that prints a warning when a result looks wrong (negative, empty, too big).
- Explain the example to someone who hasn't taken the course. Which part was hardest to explain?