Vidyalelo
Python · Q4

MCQs for Python Dictionaries: Exam

Programming · Python · question 4

Q4

In Python, how can you get a list of all key-value pairs in a dictionary?

A.
items()
Answer
B.
get_items()
C.
all_items()
D.
list_items()

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board