What will be the output of the following code:
my_dict = {'a': 1, 'b': 2, 'c': 3}
my_dict.items()
print(my_dict)
my_dict.items()
print(my_dict)
A. {'a': 1, 'b': 2, 'c': 3}
B. [('a', 1), ('b', 2), ('c', 3)]
C. {('a': 1), ('b': 2), ('c': 3)}
D. {'items': [('a', 1), ('b', 2), ('c', 3)]}
Answer: Option A
Join The Discussion