October 2023
Beginner to intermediate
215 pages
4h 3m
English
This chapter discusses Python data structures, such as sets, tuples, and dictionaries. You will see many short code blocks that will help you rapidly learn how to work with these data structures. After you have finished reading this chapter, you will be in a better position to create more complex modules using one or more of these data structures.
The first part of this chapter contains code samples involving lists and list comprehensions. The second part of this chapter discusses sets and how they differ from lists.
The third part of this chapter discusses tuples, and the final part of this chapter discusses dictionaries.
A queue is a FIFO (“First In, First Out”) data structure. Thus, the oldest ...
Read now
Unlock full access