I would like to have multiple iterators that go over the same list in a for-loop, something like
x = [1,2,3,4]
Triples = []
for i,j,k in range(len(x)):
print(i,j,k)
Result:
0 0 0
1 1 1
...
Is this possible in python?
My idea is to make the variable i as a reference for j and k.