Which of the following methods will help you to add the element at the end of the list?

21. Which of the following methods will help you to add the element at the end of the list?

  1. append()
  2. end()
  3. add()
  4. last()

Answer: A) Append()

Explanation:

The append() method in python helps you to add the element at the end of the list.

Comments and Discussions!

Load comments ↻




Copyright © 2025 www.includehelp.com. All rights reserved.