A

Admin • 833.24K Points
Coach

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

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

Explanation by: Admin

extend adds elements from another iterable to the list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.