introduction to python figure flow chart for iteration consider the following examplesquare an integerthe hard way ans itersleft while (itersleft ! )ans ans itersleft itersleft print str( '*str(xstr(ansthe code starts by binding the variable to the integer it then proceeds to square by using repetitive addition the following table shows the value associated with each variable each time the test at the start of the loop is reached we constructed it by hand-simulating the codei we pretended to be python interpreter and executed the program using pencil and paper using pencil and paper might seem kind of quaintbut it is an excellent way to understand how program behaves test ans itersleft the fourth time the test is reachedit evaluates to false and flow of control proceeds to the print statement following the loop for what values of will this program terminateif = the initial value of itersleft will also be and the loop body will never be executed if the initial value of itersleft will be greater than and the loop body will be executed it is also possible to hand-simulate program using pen and paperor even text editor