

InterviewSolution
Saved Bookmarks
1. |
Which of the following is not a declaration of the dictionary?(a) {1: ‘A’, 2: ‘B’}(b) dict([[1,”A”],[2,”B”]])(c) {1,”A”,2”B”}(d) { }The question was asked in an online interview.Question is taken from Dictionary in portion Dictionary, Functions and Built-in Functions of Python |
Answer» The CORRECT CHOICE is (c) {1,”A”,2”B”} |
|