πŸ“Š Python
Q. Which method adds an item to a set?
  • (A) append()
  • (B) add()
  • (C) insert()
  • (D) push()
πŸ’¬ Discuss
βœ… Correct Answer: (B) add()

Explanation: add() inserts a new element into a set.

Explanation by: Mr. Dubey
add() inserts a new element into a set.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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