Home » Chapter 5 : Data Structures
Data Structures
In Chapter 2: Programming Basics we studied the concepts and examples of variables. We learned that writing x = 10 means that we are creating variable that we choose to name x. That variable stores a value, in this case, 10. Data structures in programming take this concept to a new level. While we learned we can can store one value in a variable before, now, with data structures, we can store more than one value at the same time. This is very useful in many types of applications. There are many different types of data structures in programming. For our purposes, in this chapter we will learn two commonly used structures in Python that will give you a good introduction to the general concept of data structures and hands-on experience with two useful tools in Python as well.