For loop python

In python, for loop is used for iterating over a sequence (that is either a list, a dictionary,a tuple, a set or a string). Example :