Simple example of using for with range() in Python

l = [6, 8, 1, 4, 10, 7, 8, 9, 3, 2, 5]

for index in range(len(l)):
  print(l[index])
Output:
6
8
1
4
10
7
8
9
3
2
5