Batch: DS301222
append() function adds a single element at the end in the list whereas extend() function can be used to multiple elements at the end of list.
2 Likes
Batch: DS301222
append() function adds a single element at the end in the list whereas extend() function can be used to multiple elements at the end of list.