1 month ago
7 lines529 B
Exercises: lesson 6
- Look up one function or command the example uses in the official documentation. Note one option you didn't know.
- Add a comment above each block explaining what it does, in your own words.
- Break the example on purpose: delete a bracket or misspell a name. Read the error message. Which line does it point to?
- 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?