mirror of
https://github.com/licsber/micropython.git
synced 2024-09-21 09:30:24 +08:00
4 lines
65 B
Python
4 lines
65 B
Python
x = (a + 1 for a in l if a.f())
|
|
|
|
x = [a + 1 for a in l if a.f()]
|