Book traversal links for Python Loops ‹ Python History Up Python Variables › For Loop for loop is used for iterating over a sequence. Loop continues until we reach the last item in the sequence Nested for Loop loop inside a loop is called nested loop.