In this course, you learned how to:
- Distinguish between parameters and arguments
- Define functions with optional arguments and default parameter values
- Define functions using
args
andkwargs
- Deal with error messages about optional arguments
For more information on concepts covered in this course, you can check out:
- Defining Your Own Python Function
- How to Write Beautiful Code With PEP 8
- Python Scope & the LEGB Rule: Resolving Names in Your Code
- Python Booleans: Optimize Your Code With Truth Values
- Immutability in Python
- Python args and kwargs: Demystified
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.