This website requires JavaScript.
Explore
Help
Sign In
Lephenixnoir
/
PythonExtra
Watch
1
Star
0
Fork
You've already forked PythonExtra
2
Code
Issues
9
Pull Requests
3
Projects
Releases
2
Wiki
Activity
main
PythonExtra
/
tests
/
basics
/
dict_copy.py
6 lines
100 B
Python
Raw
Permalink
Blame
History
a
=
{
i
:
2
*
i
for
i
in
range
(
100
)
}
b
=
a
.
copy
(
)
for
i
in
range
(
100
)
:
print
(
i
,
b
[
i
]
)
print
(
len
(
b
)
)
Reference in New Issue
View Git Blame
Copy Permalink