深圳专业网站设计公司哪家好搜外网友情链接
def test1():return 50def test2(num):print(num)# 1. 保存函数test1的返回值 result = test1()# 2.将函数返回值所在变量作为参数传递到test2函数 test2(result) # 50
def test1():return 50def test2(num):print(num)# 1. 保存函数test1的返回值 result = test1()# 2.将函数返回值所在变量作为参数传递到test2函数 test2(result) # 50