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