#*args(元组列表)和**kwargs(字典)的区别 def tuple_test(*args): for i in args: print 'hello'+i s=('xuexi','mili') tuple_test(*s) 结果 helloxuexihellomili def dict_test(**kwargs): for i in kwargs: print i,kwargs[i] ss={'} dict_test(**ss) 结果: nick 0000name xuexi 3,可…