Summary:
In this lesson on Functions and Code Organisation, you have learned how to:
-
Define and call functions with
def -
Use
returnto send back values and avoidNonesurprises -
Write clear docstrings to document the purpose and usage
-
Accept default, keyword, arbitrary and unpacked arguments
-
Create small one-line functions with
lambda -
Group functions into modules and packages
-
Apply PEP 8 style conventions for clarity
