Computer Science, asked by ashi8312, 7 months ago

What is the purpose of the del operator and pop method? Try deleting a slice.​

Answers

Answered by harrysidhu20951
2

Answer:

  • the remove method first matching element( which is passed an argument ] from the list the pop method removes an element at a given index and will also return the removed item you can also use the del keyword in python to remove an element or slice from a list
Similar questions