AI summary
Overview of functions in Python covering types, creation, calling, docstrings, return values, variable scope, global and nonlocal keywords, function arguments (positional, keyword, default, variable-length), and recursive functions. Includes links to anonymous functions, filter, map, and reduce functions.
Type
Functions in Python
- Types of Functions
- Creating a Function
- Calling a function
- Docstrings
- Return Value From a Function
Scope and Lifetime of Variable
Global Keyword in Function
Nonlocal Variable in Function
Python Function Arguments
Positional Arguments
Keyword Arguments
Default Arguments
Variable-length Arguments
Recursive Function