Python Tutorials · Python Dictionaries
Change Items
Learn all about Change Items in this comprehensive tutorial.
5 min read beginner
- •You can change the value of a specific item by referring to its key name:
- •The update() method will update the dictionary with the items from the given argument.
Change Values
You can change the value of a specific item by referring to its key name:
python
Update Dictionary
The update() method will update the dictionary with the items from the given argument.
The argument must be a dictionary, or an iterable object with key:value pairs.
python
Module quiz
Test your knowledge on this module
2 questions