Can I have a python dictionary with 2 same keys, but with different elements?
Can I have a python dictionary with 2 same keys, but with different elements?
No, but you can add 2 elements to one 1 key. dictionary = {‘a’, [b,c]}. You would use a list object to have multiple values in a dictionary.