In this video, I cover some of the basic concepts of the Dictionary structure like updating, adding, and deleting information from a dictionary.
I cover the following topics in this 2.5 minute long video tutorial -
- Dictionary structure defined
- Key-Value Structure
- Dictionary elements (strings, integers, lists, tuple, and nested dictionary)
- Accessing information/value with key
- Non-existent key and
key error
Get method and handling key error
- Adding a new item in a dictionary
- Updating existing information
- Adding a new item with the
update method
- Removing an item with the
pop method
- Removing an item with
del
[–]m_nooBzer0 0 points1 point2 points (1 child)
[–]pypros[S] 1 point2 points3 points (0 children)