flâneur — a map of the web's best reading

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

Explore this link on the map →

related reading