Sail E0 Webinar
Question
Which of the following statements is used to create an empty set?
Options:
A .  { }
B .  set()
C .  [ ].
D .  ( )
Answer: Option B


{ } creates a dictionary not a set. Only set() creates an empty set.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers