NIELIT O Level Exam

Which of the following is not a declaration of the dictionary?

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. { }




Correct Answer is :

C. {1,”A”,2”B”}



Explanation
Option c is a set, not a dictionary.
Latest Current Affairs 2025 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad