欢喜月饼

文章
4
资源
0
加入时间
3年1月29天

元组的实例

元组的传递def func (a,*b):print(type(b))for n in b:a+=nprint(a)func(1,2,3,4,5) //通过调用func函数,会把2,3,4,5数值赋给元组b(可以理解为一元数组)RESTART: C:/Users/Administrator/AppData/Local/Programs/Python/Pyth...