Sequential Structure
Select Structure
If expression: Elif expression: else:
Loop Structure
While expression: for in
Break continue
Range Len ()
Function Definition def func ():
Function call is a reference call.
In a function, you cannot assign values to global variables (except the global description). The parameters of a function are passed by reference (except values). The default value of a function parameter is only called once. In general, the location parameter is in front of the real parameter, and the keyword name must be the shape parameter name after the keyword parameter. You can use a keyword parameter to call a parameter with or without the default value. The default value of the parameter can be used only once, and will be accumulated in future calls by default. Or you can use the keyword directly.
* Name accepts string sequences ** name accepts all unmatched keyword parameters as function dictionaries