python函数参数带星号*
摘要:
def function_with_one_star(*t): print(t, type(t)) def function_with_two_stars(**d) print(d, type(d)) 上面定义了两个函数,分别用了带一个星号和两个星号的参数,它们是什么意思,运行下面的代码: func 阅读全文
posted @ 2017-11-03 13:46 新的米 阅读(380) 评论(0) 推荐(0) 编辑