2018年5月12日
摘要: 1.函数即礼物盒 2.变量即礼物 3.大礼包(闭包)由其中的礼物和嵌套的礼物盒以及嵌套的礼物盒中的礼物组成 阅读全文
posted @ 2018-05-12 19:34 我赌,但我获胜 阅读(96) 评论(0) 推荐(0) 编辑
摘要: def a(x): print('%s'%x) x=1 def b(): x=2 print('%s'%x) def c(): x=3 print('%s'%x) c() b() a('ok') 阅读全文
posted @ 2018-05-12 19:12 我赌,但我获胜 阅读(98) 评论(0) 推荐(0) 编辑