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

Publicado em: 06 Setembro 2022
no canal de: 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


Nesta página do site você pode assistir ao vídeo on-line Python One Liner-10 | Merge two python dictionaries using double stars duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Code with Pranjal Srivastava 06 Setembro 2022, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 260 vezes e gostou 10 espectadores. Boa visualização!