Articles → Python → Extend Method In PythonExtend Method In PythonIn this article, we will discuss the extend method in Python.Purpose The extend method appends the element of one list to another.Example list1 = ["Apple", "Banana"] list2 = ["Strawberry","Orange"] list1.extend(list2) print(list1)Output Posted By - Karan Gupta Posted On - Tuesday, May 7, 2019 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
list1 = ["Apple", "Banana"] list2 = ["Strawberry","Orange"] list1.extend(list2) print(list1)
Query/Feedback