This website works better with JavaScript.
Explore
Help
Sign In
michael
/
programming-examples
Watch
1
Star
0
Fork
You've already forked programming-examples
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8c9a19ec97
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '8c9a19ec97'
${ noResults }
programming-examples
/
python
/
Dictionary
/
Python script to merge two ...
5 lines
101 B
Python
Raw
Blame
History
d1
=
{
'
a
'
:
100
,
'
b
'
:
200
}
d2
=
{
'
x
'
:
300
,
'
y
'
:
200
}
d
=
d1
.
copy
(
)
d
.
update
(
d2
)
print
(
d
)
Reference in New Issue
View Git Blame
Copy Permalink