6 | Functions Revisited - The Python Coding Book
thepythoncodingbook.com · 8,785 words · saved by 1 readers
This chapter dives deeper into functions, looking at default values and optional parameters, *args and **kwargs, docstrings, and more
Functions are a key part of all modern programming languages. When you use functions in your coding, you’re packaging code that has a specific purpose into a self-contained unit. You can then call the function whenever you want your code to perform that particular action. This is true whether you’re using functions you’ve written yourself or ones that you find in modules you import. In the first part of this book, you learned how to define your own functions and how to include parameters. In this Chapter, you’ll dive deeper into this topic. Function Names and Function Calls In the White Room a
related reading
- 9. Classes — Python 3.14.6 documentationdocs.python.org
- styleguide | Style guides for Google-originated open-source projectsgoogle.github.io
- An introduction to functional programmingcodewords.recurse.com
- Built-in Functions and Help: OxRSE Trainingtrain.oxrse.uk
- A practical introduction to functional programmingmaryrosecook.com
- 1. *args and **kwargs - Python Tips 0.1 documentationbook.pythontips.com
- Functional Programming HOWTO — Python 3.14.6 documentationdocs.python.org
- Python Decorators (With Examples)programiz.com
- Code Style — The Hitchhiker's Guide to Pythondocs.python-guide.org
- Programming Thinkingyoutube.com
- Glossary — Python 3.14.6 documentationdocs.python.org
- Introduction to Pythonblog.sdan.net