☄️Heya Mates☄️
TOPIC : List in Python.
QUES:Find difference between POP, del and remove with example.
Answers
Answered by
6
Answer:
remove() delete the matching element/object whereas del and pop removes the element at a specific index. del and pop deals with the index. The only difference between two is that- pop return deleted the value from the list and del does not return anything. Pop is only way that returns the object.
Answered by
0
Answer:
please mark me as the brainliest and follow me
Similar questions