2. Data and Data Structures#
Covered in this Chapter
What is Data?
Types of Python Data
Strings
Numbers (Integers and Floats)
Booleans
Manipulating Strings
Mathematical Operations
What is a Data Structure?
Lists
Tuples
Sets
Dictionaries
Indexing
In this chapter, we will be learning about data and data structures. As with any programming language, it is important to have a basic understanding in these two concepts as they are the building blocks for most things you will do in Python. Whenever you write a program or do something with code, you are essentially writing commands to load, save, interact with, and manipulate data in some way. Understanding the different types of data and how to structure and store them is, therefore, essential.