5 lines307 B

Exercises: lesson 2

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