Single Choice
Not Set
QWhat will be the data type of x after the following statement?
x = {'lang' :'Python', 'version' : '3'}
ID: #3470
Python Data Types MCQ
746 views
Question Info
#3470Q ID
Not SetDifficulty
Python Data Types MCQTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
- Dictionaries are used to store data values in key: value pairs.
- A dictionary is a collection which is ordered, changeable and do not allow duplicates.
- To determine how many items a dictionary has, use the len() function.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic