4 lines
No EOL
81 B
Python
4 lines
No EOL
81 B
Python
def f(L):
|
|
return [x*x for x in L if x%2 == 1]
|
|
|
|
carre = f([0,1,2,3,4,5,6,7,8,9]) |