- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Write the output of the following code :
a={'a' : "Apple", 'b' : "Banana" , 'c' : "Cat"}
a['a']="Anar"
print(a)

1.{‘a’: ‘Anar’, ‘b’: ‘Banana’, ‘c’: ‘Cat’}

2.Error

3.{‘a’ : “Apple, ‘a’: ‘Anar’, ‘b’: ‘Banana’, ‘c’: ‘Cat’}

4.None of the above

Posted Date:-2021-12-06 17:26:07


More MCQS Questions and answers

Search