Yes, it is possible to add new keys to a dictionary in Python, after creating a dictionary.
Let us take an example
1) To create a Dictionary
2) To add one single key to the dictionary
3) To add multiple keys to the dictionary
Data = {'Apple': 100, 'Orange' : 150 , 'Banana' : 155} #create a dictionary
Data
Output
{'Apple': 100, 'Orange': 150, 'Banana': 155}
Data['Cherry'] = 200 # updating or adding a single value in the dictionary
Data
Output
{'Apple': 100, 'Orange': 150, 'Banana': 155, 'Cherry': 200}
Data.update({'Cherry' : 250, 'Kiwi' : 140}) #updating multiple key
Data
Output
{'Apple': 100, 'Orange': 150, 'Banana': 155, 'Cherry': 250, 'Kiwi': 140}
Here, the value in Cherry gets updated and another Key named Kiwi is added. Thus, update helps to update and even to
add keys to the dictionary.
Hope this helps!