Computer Science, asked by Anonymous, 4 months ago

. Differentiate between pop() and clear() methods with respect to lists​

Answers

Answered by Anonymous
4

Explanation:

\huge\mathfrak\green{AnSwEr:-}

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. Remove is the only one that searches object (not index).

Answered by somya2563
17

Explanation:

\huge\mathfrak \red{AnsweR}

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. Remove is the only one that searches object (not index)

Hve a great day.✌️

Similar questions