J
Julien
Hi,
With a simple dict, the following happens:
.... 'a': 1,
.... 'b': 2,
.... 'a': 3
.... }{'a': 3, 'b': 2}
.... i.e. the value for the 'a' key gets overridden.
What I'd like to achieve is:
.... 'a': 1,
.... 'b': 2,
.... 'a': 3
.... }
Error: The key 'a' already exists.
Is that possible, and if so, how?
Many thanks!
Kind regards,
Julien
With a simple dict, the following happens:
.... 'a': 1,
.... 'b': 2,
.... 'a': 3
.... }{'a': 3, 'b': 2}
.... i.e. the value for the 'a' key gets overridden.
What I'd like to achieve is:
.... 'a': 1,
.... 'b': 2,
.... 'a': 3
.... }
Error: The key 'a' already exists.
Is that possible, and if so, how?
Many thanks!
Kind regards,
Julien