Q23
What is the output of the following code:my_dict = 'a': 1, 'b': 2, 'c': 3my_dict.pop('b')print(my_dict)
A.
{'a': 1, 'b': 2, 'c': 3}
B.
{'a': 1, 'c': 3}
AnswerC.
{'a': 1, 'b': 2}
D.
{'c': 3}
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board