Skip to content
2000

Tuple and Dictionaries

image of Tuple and Dictionaries
Preview this chapter:

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.&nbsp;<br>

/content/books/9789815179637.chap6
dcterms_subject,pub_keyword
-contentType:Journal
10
5
Chapter
content/books/9789815179637
Book
false
en
Loading
This is a required field
Please enter a valid email address
Approval was a Success
Invalid data
An Error Occurred
Approval was partially successful, following selected items could not be processed due to error
Please enter a valid_number test