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) { } |
|
Answer» The correct choice is (c) {1,”A”,2”B”} The explanation: Option c is a set, not a dictionary. |
|