您可以使用切片表示法:
for item in items[::2]: print(item)
如果你想重复 成对 每2项,您可以执行以下操作:
for item1, item2 in zip(items[::2], items[1::2]): print(item1, item2)