Source Code:
(back to article)
my_dict = {'apple': 1, 'banana': 2, 'orange': 3} my_dict['banana'] = 4 print(my_dict) # {'apple': 1, 'banana': 4, 'orange': 3}
Result:
Report an issue