Getting started with python functions
1. Function creation and calling
1. Functions, why do I need functions?
2... Function creation and calling
Second, the parameters of the function
1. Parameter transfer analysis diagram of function call
2. The effect of function body modification parameters on actual parameters
3. Function defines default value parameters
4. Variable positional parameters and keyword parameters
5. Summary of parameters
Three, the return value of the function
1. When the function returns multiple values, the result is a tuple
Fourth, the scope of variables
Five, recursive function
1. Introduction to recursive functions, components, calling process, advantages and disadvantages
2. Use recursion to calculate factorial
6. Summary
Seven, python learning portal
Python quick start-learn python from scratch