摘要: 1.1 函数嵌套定义 在一个函数内又定义了另外一个函数 def f1(): def f2(): f1() res = f1() print(res) 1.2 函数嵌套调用 在调用一个函数的过程中又调用了其他函数 def max2(x, y): if x > y: return x def max4( 阅读全文
posted @ 2020-06-17 18:09 最冷不过冬夜 阅读(129) 评论(0) 推荐(0) 编辑