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

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