Python基础知识:*args,**args的详细用法 参考:https://blog.csdn.net/qq_29287973/article/details/78040291 *args 不定参数,**kwargs 传入键值对(例如:num1=11,num2=22) 先看示例1: def test(a,b,c=3,*args): print(a) print(b) print(c) print(args) test(11,22,33,44,55) 11 22 33 (44,55) 输出结…