This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c96a2f636b
circuitpython
/
tests
/
basics
/
set_add.py
4 lines
50 B
Python
Raw
Normal View
History
Unescape
Escape
Implemented set.add
2014-01-12 10:29:11 -05:00
s
=
{
1
,
2
,
3
,
4
}
print
(
s
.
add
(
5
)
)
Modify set tests to print sorted sets directly instead of creating temporary lists and sorting those in-place
2014-04-07 00:00:03 -04:00
print
(
sorted
(
s
)
)
Reference in New Issue
Copy Permalink