seq = ['one', 'two', 'three']
for element in enumerate(seq):
print element
for i, block_n in enumerate(range(5, 0, -1)):
print i,block_n
(0, 'one')
(1, 'two')
(2, 'three')
0 5
1 4
2 3
3 2
4 1
seq = ['one', 'two', 'three']
for element in enumerate(seq):
print element
for i, block_n in enumerate(range(5, 0, -1)):
print i,block_n
(0, 'one')
(1, 'two')
(2, 'three')
0 5
1 4
2 3
3 2
4 1