index
:
micropython
master
parse-bytecode
v1.22-release
v1.24-release
MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
Aslak Raanes
summary
refs
log
tree
commit
diff
stats
homepage
log msg
author
committer
range
path:
root
/
tests
/
basics
/
sorted.py
blob: bbec31946059c54ee1e241bc731a43c83b9e8393 (
plain
) (
blame
)
1
2
print(sorted(set(range(100)))) print(sorted(set(range(100)), key=lambda x: x + 100*(x % 2)))