You've already forked Core2forAWS-MicroPython
mirror of
https://github.com/m5stack/Core2forAWS-MicroPython.git
synced 2026-05-20 10:30:31 -07:00
1ff6011abc
instead of creating temporary lists and sorting those in-place
4 lines
50 B
Python
4 lines
50 B
Python
s = {1, 2, 3, 4}
|
|
print(s.add(5))
|
|
print(sorted(s))
|