python可以返回多个参数
def change(x,y): a=x*y b=x+y return a,b m,n=change(10,20) print(m,n)
输出
200 30
如果输入
print(change(10,20))
(200, 30)
可见返回的是一个元组(tuple)