Format of the parameter

1. One-to-one correspondence between actual and formal parameter positions (positional parameters)

2. Formal parameter = actual parameter (keyword parameter), no order corresponding

3. Left position parameter, right keyword parameter

4. Default parameters do not require actual parameters

5. *: return a tuple, **: return a dictionary (the arguments must be keyword arguments)

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324745063&siteId=291194637