Python中参数调用

1.关键字参数  def func(p1=v1,p2=v2......)        func body 调用函数: func(p1=value1,p2=value2.......) 2.收集参数 def func(*args)       func body 调用:      func(p1,p2,p3......) eg: def test(*args) :        print("收集
相关文章
相关标签/搜索