A for loop starts with a 'for element in list:' definition that ends with a colon, followed by an intended block of commands of what to do with each element. The loop commands end with the end of the intended block. In Python loops are better replaced by List Comprehension.
# Loop over all elements of a list
# getting both element and it's index i (starting with 1)
# same, but using list index over all elements
# print numbers 1..10
# print 3 times 'Hello'
# loop over a list of number
loop over two (or more) parallel lists (ends when shortest list is finished)
using enumerate with zip to get also an index i
sorted loop over two 'zipped' lists, sorted by the first list
Or the same, but get directly the sorted list:
Sorting a list based on values of another list
['b', 'c', 'a']
break to stop a loop