Schleife durch 2 Artikel Python
#----------- For loop using 2 items of a list --------------- #
mylist = [117, 202, 287, 372, 457, 542]
#range() has a third parameter allowing you to specify step size, letting you loop through more than 1 item at a time
#range(start, end, stepsize)
for i in range(0, len(mylist), 3):
print(mylist[i])
Average Addax