def f(x,l=[]): for i in range(x): l.append(i*i) print l f(2) f(3,[3,2,1]) f(3) ... 这两个参数是什么意思: *args , **kwargs ?我们为什么要使用它们?
確定! 回上一頁