Dictionaries are mutable in Python because we can add, delete, and changed the data values even after creating.
Here are examples of how to add, delete, or change the data entries of the dictionary:
#Create a dictionary
grades = {'arthur':90, 'belle':60, 'charles':80}
To add or change elements:
grades['charles'] = 85 # Change the value of Charles
grades['doug'] = 70 # adds a new entry
To remove entries we can use
del grades['belle']
If you want to get proficient in Python, I recommend this Intellipaat’s Python Course.
Also, watch this Python Tutorial on sets and dictionaries: