This website requires JavaScript.
Explore
Help
Sign In
mibi88
/
PythonExtra
forked from
Lephenixnoir/PythonExtra
Watch
1
Star
0
Fork
You've already forked PythonExtra
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
main
PythonExtra
/
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