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