A

Admin • 832.27K Points
Coach

Q. Which method adds an item to a set?

  • (A) append()
  • (B) add()
  • (C) insert()
  • (D) push()
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

add() inserts a new element into a set.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.