A

Admin • 832.27K Points
Coach

Q. Which method removes all elements from a set?

  • (A) delete()
  • (B) pop()
  • (C) clear()
  • (D) remove()
  • Correct Answer - Option(C)
  • Views: 15
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

clear empties the set entirely.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.