3.Explain the use of the following functions in lists with examples.
(i) Insert()
ii.Update()
Answers
Answered by
0
Answer:
insert()
is an inbuilt function in Python that inserts a given element at a given index in a list. Parameters : index - the index at which the element has to be inserted.
In Python Dictionary, update() method updates the dictionary with the elements from the another dictionary object or from an iterable of key/value pairs. Parameters: This method takes either a dictionary or an iterable object of key/value pairs (generally tuples) as parameters.
Answered by
0
Answer:
Explanation:
insert
Similar questions