摘要: 昨日内容 def outer(): print('我是生成器') yield 123,321,'大佬救命' res = outer() print(res) res1 = res.__next__() print(res1) 迭代取值与循环取值的差异 # 索引取值 l1 = [ 11, 22, 33 阅读全文
posted @ 2022-07-13 23:15 懒羊羊A 阅读(131) 评论(0) 推荐(0)