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
c5966128c7
micropython
/
tests
/
basics
/
set_copy.py
9 lines
105 B
Python
Raw
Blame
History
s
=
{
1
,
2
,
3
,
4
}
t
=
s
.
copy
(
)
s
.
add
(
5
)
t
.
add
(
7
)
for
i
in
s
,
t
:
l
=
list
(
i
)
l
.
sort
(
)
print
(
l
)
Reference in New Issue
View Git Blame
Copy Permalink