MCQ Answer

Which of the following statements is used to create an empty set?

Which of the following statements is used to create an empty set?

एम्प्टी सेट क्रिएट करने के लिए निम्नलिखित में से किस स्टेट्मेंट का यूज़ किया जाता है?
Topic : Sequence data types in python

A. { }

B. set()

C. [ ]

D. ( )




Correct Answer is :

B. set()



Explanation
{ } creates a dictionary not a set. Only set() creates an empty set.
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