12. Write the most appropriate function to perform the following tasks.
1. Delete a given element from the list.
II. Add an element in the end of list.
III. Remove all items from the dictionary
IV. To display list of values in a dictionary
Answers
Answered by
1
Answer:
The method pop() can be used to remove and return the last value from the list or the given index value. If the index is not given, then the last element is popped out and removed.
Similar questions
Art,
1 month ago
Computer Science,
1 month ago
Social Sciences,
2 months ago
Math,
2 months ago
Hindi,
9 months ago
English,
9 months ago