PYTHON CIRCLE
Practice
Python Books
Archive
Subscribe
Login
Menu
Login
Practice
Python Books
Archive
Subscribe
Python Multiple Choice Questions
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. { }
Show Answer
Next Question
Correct Answer:
C
Explanation: Option c is a set, not a dictionary.
© 2022-2023 Python Circle
Contact
Sponsor
Archive
Sitemap