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

  • (A) set()
  • (B) {}
  • (C) []
  • (D) ()
πŸ’¬ Discuss
βœ… Correct Answer: (A) set()
Explanation: `set()` creates an empty set; `{}` creates an empty dictionary.
Explanation by: Mr. Dubey
`set()` creates an empty set; `{}` creates an empty dictionary.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
97
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate