. Differentiate between pop() and clear() methods with respect to lists
Answers
Answered by
4
Explanation:
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
17
Explanation:
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
Social Sciences,
2 months ago
Math,
2 months ago
Science,
2 months ago
Social Sciences,
4 months ago
English,
10 months ago