Q. Which method is used to add multiple items to a list?

  • (A) add()
  • (B) extend()
  • (C) append()
  • (D) insert()
πŸ’¬ Discuss
βœ… Correct Answer: (B) extend()
Explanation: extend adds elements from another iterable to the list.
Explanation by: Mr. Dubey
extend adds elements from another iterable to the list.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
86
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate