I was looking to create a program which takes a colour name and how many kids liked it then appends it to a dictionary, however I wanted to make it so that if a duplicated key is entered it's value will be added to the existing one. Such as red 4 red 3 would print red 7. Thanks!
colourPick = True
while colourPick:
colour = input()
numPicked = input()
my_dict[colour] = numPicked