函数的参数输入方式是元组

def func(*args):
    print(args, type(args))
func(3, 4, 5,67,8,'io')

  

posted @ 2023-05-18 12:35  sangern  阅读(20)  评论(0)    收藏  举报