Loops in Python Programming

Loops in Python

In a vast majority of  programming languages, a block of codes  are executed  in the order  starting from the first statement and Python programming is not an exception.  When a function in a program is executed in Python, it is the same.  The first statement is executed first, followed by the next one and so on.