99.4k views
4 votes
Write a difference between append () and extend ()method of list​

1 Answer

5 votes

Answer:

..

Step-by-step explanation:

append adds its argument as a single element to the end of a list the length of the list itself will increase by one. extend iterates over its argument adding each element to the list, extending the list. the length of the list will increase by however many elements were in the iterable argument

User DangerMouse
by
6.5k points