Hour 7. Learning About Loops

What You’ll Learn in This Hour:

Image How to perform repetitive tasks

Image How to use the for loop

Image How to use the while loop

Image How to use nested loops

In this hour, you learn about additional structured commands that help you reach your script’s goals using Python. Specifically, the focus is on repetitive tasks and which constructs ...

Get Sams Teach Yourself Python Programming for Raspberry Pi in 24 Hours, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.