Which of the following is not a declaration of the dictionary?
A. dict([[1,”A”],[2,”B”]])
B. {1,”A”,2”B”}
C. {1: ‘A’, 2: ‘B’}
D. { }
Answer:B
Which of the following is not a declaration of the dictionary?
A. dict([[1,”A”],[2,”B”]]) B. {1,”A”,2”B”} C. {1: ‘A’, 2: ‘B’} D. { }