2017年7月28日
摘要: 一、 函数嵌套 1、函数嵌套的调用 在调用函数的过程中,又调用了其他函数 实例1-1 : def foo(): print('from foo') def bar(): print('from bar') foo() bar() 实例1-2 #求四个数的最大值 def max2(x,y): if x 阅读全文
posted @ 2017-07-28 11:46 wangyinhu1208 阅读(225) 评论(0) 推荐(0) 编辑