πŸ“Š Python
Q. Which of the following statements is used to create an empty set?
  • (A) { }
  • (B) ( )
  • (C) [ ]
  • (D) set()
πŸ’¬ Discuss
βœ… Correct Answer: (D) set()

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

Explanation by: Tanmay
{} creates a dictionary, not a set. Only set() creates an empty set.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
221
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Tanmay
Publisher
πŸ“ˆ
89%
Success Rate