Hour 6. Controlling Your Program

What You’ll Learn in This Hour:

Image How to use if statements

Image How to group multiple statements

Image How to add else sections

Image Stringing together if statements

Image Testing conditions

In all the Python scripts discussed so far, Python ...

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.