Python 3.9 🥳 is out and my favourite feature is the dictionary union operator.
Example
a = {1: 'dog', 2: 'cat', 3: 'rabbit'}
b = {4: 'snake', 5: 'python'}
c = a | b
print(c)
# {1: 'dog', 2: 'cat', 3: 'rabbit', 4: 'snake', 5: 'python'}
For further actions, you may consider blocking this person and/or reporting abuse
xmanhugo -
Daniel Azevedo -
DotNet Full Stack Dev -
Julie Ryan -
Top comments (1)
Nice