ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
1、**kwargs ``` def test_args(item_one,item_two,**kwargs): print item_one print item_two print kwargs test_args(item_one = 'hello',item_two = 'world',item_three = 'how are you') ``` 2、*args![] ``` def test_args(first,second,*args): print first print second print args test_args(1,2,3,4,5) ```