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
e4e3f0d727
micropython
/
tests
/
basics
/
set_update.py
8 lines
101 B
Python
Raw
Blame
History
s
=
{
1
}
s
.
update
(
)
print
(
s
)
s
.
update
(
[
2
]
)
print
(
sorted
(
s
)
)
s
.
update
(
[
1
,
3
]
,
[
2
,
2
,
4
]
)
print
(
sorted
(
s
)
)
Reference in New Issue
View Git Blame
Copy Permalink