#自己实现一个函数支持可变参数 def func1(*args): print(type(args)) print(args) func1('a','b','1','2','3') def func2(x,y,*name,**kvs): print(x,y) print(x,y,name) print(kvs) func2(1,2,3,4,5,us='seattle',china='beijing')