python之嵌套函数调用
摘要:
#定义嵌套函数 def func1(): print('this is func1') def func2(): print('this is func2')#调用1func1()输出:this is func1上面没有输出this is func2,说明嵌套子函数func2()没有被调用原因:一个 阅读全文
posted @ 2020-01-13 20:18 RounieJane 阅读(3637) 评论(0) 推荐(0) 编辑