Dictionary Flashcards

(1 cards)

1
Q

items()

A
The items() method returns a view object that displays a list of dictionary's (key, value) tuple pairs.
The items() method doesn't take any parameters.

e.g.: dictionary.items()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly