Flowchart and Animation of while loop with if else

We are in the process of creating a unit on while loops with if/else (and soon if/elif/else) structures  in our latest python unit.

The Goal is to start your penguin here :

while-loop-challenge

And to write a single loop to get to the fish, as shown in this animation

around-the-square-gif2

 

 

While if else animation flow

Or as a flow chart :

 

while-if-else-flowdchart