added final line after the while loop to remind you that execution follows sequentially after loop completes if you play computer and follow the path of executionyou could generate the following table rememberthat each time you reach the end of the indented block after the while headingexecution returns to the while heading for another testline temperature comment is truedo loop prints is loop back is truedo loop prints is loop back is truedo loop prints is loop back is falseskip loop prints that the tea is cool each time the end of the indented loop body is reachedexecution returns to the while loop heading for another test when the test is finally falseexecution jumps past the indented body of the while loop to the next sequential statement while loop generally follows the pattern of the successive modification loop introduced with for-each loopsinitialization while continuationcondition do main action to be repeated prepare variables for the next time through the loop test yourselffollowing the code figure out what is printed while print(ii + check yourself by running the example program testwhile py notein pythonwhile is not used quite like in english in english you could mean to stop as soon as the condition you want to test becomes false in python the test is only made when execution for the loop starts (or starts again)not in the middle of the loop predict what will happen with this slight variation on the previous exampleswitching the order in the loop body follow it carefullyone step at time variation on testwhile py while ( ) + print(icheck yourself by running the example program testwhile py the sequence order is important the variable is increased before it is printedso the first number printed is another common error is to assume that will not be printedsince is past but the test that may stop the loop is not made in the middle of the loop once the body of the loop is startedit continues to the endeven when becomes more on flow of control