πŸ“Š Python
Q. How do you declare an empty set?
  • (A) set = {}
  • (B) set()
  • (C) {}
  • (D) emptyset()
πŸ’¬ Discuss
βœ… Correct Answer: (B) 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

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
87%
Success Rate