Articles → Python → Extend Method In PythonExtend Method In PythonIn this article, we will discuss about extend method in python.Purpose Extend method appends the element of one list to other.Example list1 = ["Apple", "Banana"] list2 = ["Strawberry","Orange"] list1.extend(list2) print(list1)Output Click to EnlargePosted 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