摘要: 要求最终效果类似 print(couter()) # 1 print(couter()) # 2 print(couter()) # 3 print(couter()) # 4 print(couter()) # 5 def couter(): x = 0 def counter(): nonloc 阅读全文
posted @ 2020-03-20 16:34 pythoner_wl 阅读(248) 评论(0) 推荐(0) 编辑