Home »
Python »
Python Dictionary MCQs
Suppose you want to modify a particular key or value which of the following function you will use?
27. Suppose you want to modify a particular key or value which of the following function you will use?
- modify()
- update()
- change()
- new()
Answer: B) update()
Explanation:
The update() function is used to update the key value.