Python(day8)迭代器、生成器

一 什麼是迭代 1 重複 2 下一次重複是基於上一次的結果 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 # while True: #     cmd=input('>>: ') #     print(cmd)   # l=['a','b','c','d'] # count=0 # while count < len(l): #    
相關文章
相關標籤/搜索