Python Programming - Data Types - Discussion

Discussion Forum : Data Types - General Questions (Q.No. 8)
8.
Which of the following data types is used to represent a collection of key-value pairs?
List
Tuple
Set
Dictionary
Answer: Option
Explanation:
Dictionaries are used to represent a collection of key-value pairs, where each key maps to a corresponding value. Lists, tuples, and sets do not have this structure.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.