摘要: 相信时间的力量 一切都是最好的安排! (2/2) # /*<--生成器函数 就是把return 换成 yeild -->*/## def bbq():# print("烤茄子")# yield "烤生蚝"# print("烤面筋")# yield "烤韭菜"# print("烤秋刀鱼")### re 阅读全文
posted @ 2018-11-01 19:34 黄豆豆丨Dealdwong 阅读(169) 评论(1) 推荐(0) 编辑
摘要: 笃定的知道自己想要什么 努力的追寻(1/2)# ## lst = ["a","b","c","d"]## it = lst.__iter__()# while 1:# try:# l = it.__next__()# print(l)# except StopIteration:# print("o 阅读全文
posted @ 2018-11-01 19:30 黄豆豆丨Dealdwong 阅读(107) 评论(1) 推荐(0) 编辑