刘界辉
Getting next element while cycling through a list
li = [0, 1, 2, 3] running = True while running: for elem in li: thiselem = elem nextelem = li[li.index(elem)+1][详细]
2022-12-19 03:20 分类:问答
li = [0, 1, 2, 3] running = True while running: for elem in li: thiselem = elem nextelem = li[li.index(elem)+1][详细]