title: How to add to python dictionary without replacing
body: <p>the current code I have is <code>category1[name]=(number)</code> however if the same name comes up the value in the dictionary is replaced by the new number how would I make it so instead of the value being replaced the original value is kept and the new value is also added, giving the key two values now, thanks.</p>