7 lines475 B

Exercises: lesson 6

  1. Explain the example to someone who hasn't taken the course. Which part was hardest to explain?
  2. Make the example ask for its input instead of using a fixed value.
  3. Find one thing in collections_demo.py you could name better and rename it everywhere.
  4. Combine this lesson with the previous one: use something from both in a small program of your own.
  5. Add a check that prints a warning when a result looks wrong (negative, empty, too big).