7 lines516 B

Exercises: lesson 7

  1. Combine this lesson with the previous one: use something from both in a small program of your own.
  2. Explain the example to someone who hasn't taken the course. Which part was hardest to explain?
  3. Add a comment above each block explaining what it does, in your own words.
  4. What happens with an empty input? Change the code so it handles that case with a clear message.
  5. Look up one function or command the example uses in the official documentation. Note one option you didn't know.