Hour 8. Using Lists and Tuples

What You’ll Learn in This Hour:

Image Working with tuples and lists

Image Using multidimensional lists

Image Building lists with comprehensions

When you work with variables, sometimes it comes in handy to group data values together so that you can iterate through them later in your script. You can’t easily do that with separate variables, but Python provide a solution for you.

Most programming languages use array variables to hold ...

Get Python Programming for Raspberry Pi, Sams Teach Yourself in 24 Hours 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.