In previous tutorial we learned about While loop. In this tutorial we'll discuss about very similar topic - For loop. For loop has the ability to iterate over the items of any sequence, such as a list or a string.
Typically, you will see the while loop being used for finite tasks that have predetermined length, and the for loop being used for tasks that have uncertain and variable time-frames.
Text tutorial (page under construction): http://pylessons.com/Python-3-basics-...
Twitter: / pylessons
Facebook: / pylessons