🌈 搜索
📅  最后修改于: 2022-03-11 14:45:43.579000             🧑  作者: Mango
from itertools import cycle lst = ['a', 'b', 'c'] pool = cycle(lst) for item in pool: print item