A

Admin • 833K Points
Coach

Q. Which method adds an element to the end of a list?

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

Explanation by: Admin

`append()` adds a single element 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.