Abstract
Another important data type of Python is dictionary. In the previous chapter,
we acquainted the readers with the lists and strings. In this chapter, we shall discuss
dictionaries and lists. lists are the ordered collection of objects but dictionaries are an
unordered collection of objects. dictionary values are referred to using key-value pair
instead of positional offset. Due to this, they have found great usage in search tables,
records and aggregation. Another concept introduced in this chapter is tuples. These are
immutable like strings and represent a stable collection of arbitrary items.
About this chapter
Cite this chapter as:
Krishna Kumar Mohbey, Malika Acharya ;Tuple and Dictionaries, Basics of Python Programming: A Quick Guide for Beginners (2023) 1: 121. https://doi.org/10.2174/9789815179637123010008
DOI https://doi.org/10.2174/9789815179637123010008 |
Publisher Name Bentham Science Publisher |