Python One Liner-10 | Merge two python dictionaries using double stars

Publié le: 06 septembre 2022
sur la chaîne: Code with Pranjal Srivastava
260
10

Learn how to merge two python dictionaries.

Connect with me 👋
Linkedin:   / srivastavapranjal  

Source Code:
mydict1={"name":"Pranjal","age":24}
mydict2={"name":"Pranjal","country":"India"}
merged_dict={**mydict1,**mydict2}
print(merged_dict)

Playlist:
Python List:    • Python Lists  
Python tips and tricks:    • Python Tips and Tricks  
Python Mini Project:    • Python Mini Project  
Python Shorts series:    • Python Shorts  

If you want to learn more about Python and DevOps, you can get this course-
https://www.udemy.com/course/learn-co...

#shorts #python #pythonprogramming #pythontutorial #pythonforbeginners #pythonprojects #learnpython #competitiveprogramming


Sur cette page du site, vous pouvez voir la vidéo en ligne Python One Liner-10 | Merge two python dictionaries using double stars durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Code with Pranjal Srivastava 06 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 260 fois et il a aimé 10 téléspectateurs. Bon visionnage!