Python question

what is the difference between remove , pop and clear method in list ?
clear() delete all elements
pop() delete last element
delete() deletes by indexing

2 Likes

Well Done, Keep it up

1 Like