Report Bug
Qus : Which of the following creates a set?
Qusनिम्न में से कौन set बनाता है?

A. {1, 2, 3}
B. [1, 2, 3]
C. {}
D. (1, 2, 3)


Solution
A. {1, 2, 3}



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

Values के साथ curly braces set बनाते हैं। केवल {} empty dictionary बनाता है।



Report Bug