2 weeks ago
7 lines452 B
Exercises: lesson 5
- Find one thing in
functions.pyyou could name better and rename it everywhere. - Add a comment above each block explaining what it does, in your own words.
- Make the example ask for its input instead of using a fixed value.
- Rewrite the main part so it runs twice with two different inputs, without copying the code.
- Combine this lesson with the previous one: use something from both in a small program of your own.