A

Admin • 833K Points
Coach

Q. Which method adds multiple elements to a list?

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

Explanation by: Admin

`extend()` adds all elements of an iterable to the end of the list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.