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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.