函数参数前添加* 符号,可以转换tuple为函数参数 a= (10,3) divmod(*a) #转换tuple为参数 #(3,1) 2.使用*获取多个item a,*b,c= range(5) a,*b,c #(0, [1, 2, 3], 4)