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