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()]
|