Parameters in Function Definition
A. def func(name): Match by position or by name
B. def func(name=value): Default argument
C. def func(*args): Collect extra positional arguments in tuple named args
D. def func(**kwargs): Collect extra keyword arguments in dictionary named kwargs
E. def func(*args, name[=value]): Keyword-only arguments
F. def func(*, name[=value]): Keyword-only arguments
G. def func(name[=value], /): Positional-only arguments
Arguments in function call
H. func(value) Positional Argument
I. func(name=value) Keyword Argument
J. func(*x) Unpacks container x into positional arguments
K. func(**d) Unpacks dictionary d into keyword arguments
L. func(*x, *y, *z) Multiple unpackings
M. func(**d1, **d2, **d2) Multiple unpackings
标签:name,Parameters,Python,value,Arguments,func,def,arguments From: https://www.cnblogs.com/zhangzhihui/p/18331926