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

Published: 06 September 2022
on channel: 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


On this page of the site you can watch the video online Python One Liner-10 | Merge two python dictionaries using double stars with a duration of hours minute second in good quality, which was uploaded by the user Code with Pranjal Srivastava 06 September 2022, share the link with friends and acquaintances, this video has already been watched 260 times on youtube and it was liked by 10 viewers. Enjoy your viewing!