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