摘要:
def max(a,b): return a if a >b else b def the_max(x,y,z): c = max(x,y) return max(c,z) print(the_max(1,2,3)) #一个简单的嵌套例子 声明全局变量 global 声明上几层中最近那一层中的局部变 阅读全文
posted @ 2018-10-26 22:46
farion
阅读(164)
评论(0)
推荐(0)
2018年10月26日