Q18
What is the output of the following code:my_dict = 'a': 1, 'b': 2print(my_dict['a'])
A.
1
AnswerB.
a
C.
{'a': 1}
D.
'a'
Answer: Option A
Solution
Answer: Option A
No explanation is given for this question Let's Discuss on Board