8 lines652 B

Exercises: lesson 8

  1. Run crontab.txt and change one value. Write down what you expect, then run it again and compare.
  2. Look up one function or command the example uses in the official documentation. Note one option you didn't know.
  3. Rewrite the main part so it runs twice with two different inputs, without copying the code.
  4. Add a check that prints a warning when a result looks wrong (negative, empty, too big).
  5. Break the example on purpose: delete a bracket or misspell a name. Read the error message. Which line does it point to?
  6. Combine this lesson with the previous one: use something from both in a small program of your own.