A

Admin • 833.24K Points
Coach

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

  • (A) set()
  • (B) {}
  • (C) []
  • (D) ()
  • Correct Answer - Option(A)
  • Views: 14
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

`set()` creates an empty set; `{}` creates an empty dictionary.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.