Understanding For Loop In Python
A loop statement is important to execute a statement or group of statements more than one time. You can use the for loop in Python to iterate over an iterable objects. In programming iterating over a sequence process is called as traversal. The loop executes a sequence of statements multiple times and abbreviates the code that manages the loop variable.
A for loop can also have an optional else block. The else part is executed if the items in the sequence used in for loop exhausts. break statement can be used to stop a for loop. In such case, the else part is ignored.


























No Comment to " Understanding For Loop In Python "