Tuple and Dictionaries
- Authors: Krishna Kumar Mohbey1, Malika Acharya2
-
View Affiliations Hide AffiliationsAffiliations: 1 Department of Computer Science, Central University of Rajasthan, Rajasthan, India 2 Department of Computer Science, Central University of Rajasthan, Rajasthan, India
- Source: Basics of Python Programming: A Quick Guide for Beginners , pp 121-162
- Publication Date: December 2023
- Language: English
Preview this chapter:
Tuple and Dictionaries, Page 1 of 1
< Previous page | Next page > /docserver/preview/fulltext/9789815179637/chap6-1.gifAnother 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. <br>
Hardbound ISBN:
9789815179644
Ebook ISBN:
9789815179637
-
From This Site
/content/books/9789815179637.chap6dcterms_subject,pub_keyword-contentType:Journal105
/content/books/9789815179637.chap6
dcterms_subject,pub_keyword
-contentType:Journal
10
5
Chapter
content/books/9789815179637
Book
false
en