<reponame>snippetfinder/The-Quick-Snippet-Reference
array = [5, 4, 3, 2, 1]
for index in range(len(array)): print(index, ':', array[index])  # 0 : 5  1 : 4  ...  4 : 1  ≡
for item in array: print(item)                                   # 5  4  ...  1              ≡