Adding, Updating and Deleting Key-Value Pairs — Study Resources & PYQs
Adding, updating and deleting key-value pairs in dictionaries
- Estimated study time: 60 minutes
Study resources
- Dictionaries – GeeksforGeeks (Article) — Covers dict creation, CRUD operations on key-value pairs, all dictionary methods, and iterating through dictionaries.
- 5. Data Structures (Article) — The official Python tutorial chapter covering the del statement and other ways of adding, updating and removing dictionary and list entries.
- Dictionaries – Key-Value Pairs & Methods (Article) — Interactive lessons on dictionary syntax, key-value pairs, accessing/adding/updating/deleting items, keys(), values(), items().
- String Operations in Python (Article) — Interactive lessons on string creation, indexing, slicing, concatenation, formatting, and all built-in string methods.
Taught in these subjects
- Python Programming — CSO-3505 · Government College of Engineering and Technology, Jammu
- Python Programming — CSO-3505 · Government College of Engineering and Technology, Jammu