This website requires JavaScript.
Explore
Help
Sign In
jebbatime
/
micropython
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
jebbatime
micropython
/
tests
/
basics
/
set_update.py
8 lines
101 B
Python
Raw
Permalink
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