19 lines539 B

Lesson 5: Functions: name it once, use it everywhere

This lesson covers functions: name it once, use it everywhere. You'll read a short explanation, try three small exercises and finish with a quiz.

Read the full lesson: https://glibcode.net/courses/python-basics/lessons/5

Files

  • functions.py: defining functions, arguments and return values

Run it

python3 functions.py

Exercises

See exercises.md. Ask in the forum once you've tried.