---
title: "append() and extend() methods ??"  
description: "append() and extend() methods ??"  
author: "Prakash nidhi Verma"  
published: 2018-07-20  
updated: 2020-09-15  
canonical: https://www.mindstick.com/interview/23476/append-and-extend-methods  
category: "python"  
tags: ["python"]  
reading_time: 1 minute  

---

# append() and extend() methods ??

Differentiate between append() and extend() methods:

Both append() and extend() methods are the methods of list. These methods are used to add the elements at the end of the list.

*) append(element) – adds the given element at the end of the list which has called this method.

*) extend(another-list) – adds the elements of another-list at the end of the list which is called the extend method.

## Answers

### Answer by Prakash nidhi Verma

Differentiate between append() and extend() methods:

Both append() and extend() methods are the methods of list. These methods are used to add the elements at the end of the list.

*) append(element) – adds the given element at the end of the list which has called this method.

*) extend(another-list) – adds the elements of another-list at the end of the list which is called the extend method.


---

Original Source: https://www.mindstick.com/interview/23476/append-and-extend-methods

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
