This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
micropython
mirror of
https://github.com/micropython/micropython.git
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
5fd5af98d0
micropython
/
tests
/
basics
/
dict_copy.py
6 lines
102 B
Python
Raw
Blame
History
a
=
{
i
:
2
*
i
for
i
in
range
(
1000
)
}
b
=
a
.
copy
(
)
for
i
in
range
(
1000
)
:
print
(
i
,
b
[
i
]
)
print
(
len
(
b
)
)
Reference in New Issue
View Git Blame
Copy Permalink