MCQ Answer

Which of the following creates a set?

Which of the following creates a set?

निम्न में से कौन set बनाता है?
Topic : Sequence data types in python

A. {1, 2, 3}

B. [1, 2, 3]

C. {}

D. (1, 2, 3)




Correct Answer is :

A. {1, 2, 3}



Explanation
Curly braces containing comma-separated values create a set. Empty {} creates a dictionary.

Values के साथ curly braces set बनाते हैं। केवल {} empty dictionary बनाता है।
Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad