Table of contents
- Types of Functions
- Creating a Function
- Creating a function without any parameters
- Creating a function with parameter s
- Creating a function with parameters and return value
- Calling a function
- Calling a function of a module
- Docstrings
- Single-Line Docstring
- Multi-Line Docstring
- 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
‣
1. Types Of Function
‣
2. Creating a Function
‣
3. Calling a Function
‣
4. Docstrings
‣
5. Return Value From a Function
‣
6. The pass Statement
‣
7. Scope and Lifetime of Variables
‣
8. Global Keyword in Python Functions
‣
9. Nonlocal Variables in Python Functions
‣
10. Python Function Arguments
‣
11. Recursive Functions
‣