Search⌘ K
AI Features

What are we learning in this chapter?

Discover the core Python data types lists tuples and dictionaries in this chapter. Learn how to use these essential building blocks alongside strings to write versatile programs.

We'll cover the following...

Python has several other important data types that you’ll probably use every day. They are called lists, tuples and dictionaries. This chapter’s aim is to get you acquainted with each of these data types. They are not particularly complicated, so I expect that you will find learning how to use them very straight forward. Once you have mastered these three data types plus the string data type from the previous chapter, you will be quite a ways along in your education of Python. You’ll be using these four building blocks in 99% of all the applications you will write.

Let’s start with Lists in Python.