A for loop is used for iterating over sequence(i.e. a list, tuple, dictionary, set, string). Syntax of for Loop: The for loop used in python is different from the for keyword used in other programming languages, and work more like iterator as found in other object-oriented programming languages. Example: >Even strings are iterable objects, they … Continue reading for loop in python

