index
:
openmano-mpy
master
MicroPython source and hardware configuration for OpenMano
Damien George
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
basics
/
filter.py
blob: 5883e3d00b613910c42a6ac4a870ed8c2961c140 (
plain
)
1
2
print
(
list
(
filter
(
lambda
x
:
x
&
1
,
range
(
-
3
,
4
))))
print
(
list
(
filter
(
None
,
range
(
-
3
,
4
))))