python的中* 和** 的打包和解包 一、参数打包 *的作用:在函数定义中,收集所有位置参数到一个新的元祖,并将元祖赋值给变量args def func(*args): print(args) func(1) # (1,) func(1, 2, 3)<