Q. Which method adds multiple elements to a list?

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

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