April 2024
Beginner to intermediate
500 pages
24h 20m
English
Whenever we work with large amounts of data, we need some means of organizing the data’s storage so that we can process the data in an orderly and efficient manner. Python’s built-in collections provide ways to organize and store data values. We have already introduced one type of collection: strings. In this chapter, we will further explore strings and consider three more Python collections: lists, dictionaries, and tuples.
We have introduced the idea of a string as a sequential collection of characters. Python calls this a sequence. Each string is considered to be ordered from left to right, and each character can be accessed using the indexing operation. Provided that our data items ...
Read now
Unlock full access