Loop Animated Gifs in Python

Explaining loops to someone who has never programmed before can be quite challenging. In fact, one of the  main goals of Penjee is to decrease the friction students typically feel when they first learn to hand code.

One of the primary lessons that students must try to wrap their heads around is –  “What is a loop?”

To help answer that question , we’ve created these animated gifs:

 

Loop from one of our lessons :

 

while-loop-animation-python
While Loop in Python

 

 

While Loop with an if test
While Loop with an if test

 

Animation of a loop over a Python List

 

What are you waiting for, are you ready to learn python ?