What is the difference between append() and extend()

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

@vivek

Correct, keep it up.

It is correct :grinning: @vivek keep it up