Differentiate between append() and extend() functions of list.
Answers
Answered by
3
Answer:
python append() method adds an element to be list , and the extend() method concatenates the first list with another list( or another iterable). .... whereas extend method iterates over its argument adding each element to the list extending the list
Similar questions