user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

52. What distinguishes the methods extend() and append()?

user image

Abhishek Mishra

2 years ago

In order to add elements to the end of a list, you can use the append() and extend() methods.Append(element)- Adds the specified element to the end of the list which is called this append() method.Extend(another list) method adds the entries of another list to the end of the list that is called it.

Recent Doubts

Close [x]