Python 3.9 – new way to merge dictionaries

You will be able to use | or |= to create a new dictionary from 2 dictionaries or to update one with the values of another respectively.

 

Python 3.9: merge dictionaries


Subscribe to the newsletter for updates
Tkinter templates
My youtube channel

Twitter: @pythonprogrammi - python_pygame

Videos

Speech recognition game

Pygame's Platform Game

Other Pygame's posts

https://hashnode.com/@pythongames/joinme