Loading

摘要: * 函数接收参数为元组 例如 def myfun(*args): #相当于 def myfun(1,2,3) ==> args 就相当于(1,2,3) for a in args: print(a) ** 表示函数接收参数为一个字典 def myfun(**args) :#相当于 def myfun 阅读全文
posted @ 2016-09-07 10:19 3WLineCode 阅读(6035) 评论(0) 推荐(1) 编辑