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.

 


Subscribe to the newsletter for updates
Tkinter templates
Avatar My youtube channel

Twitter: @pythonprogrammi - python_pygame

Videos

Speech recognition game

Pygame's Platform Game

Other Pygame's posts

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

Published by pythonprogramming

Started with basic on the spectrum, loved javascript in the 90ies and python in the 2000, now I am back with python, still making some javascript stuff when needed.