ConvertQCM/C2/codes/q70_52.py
2025-08-26 18:38:28 +02:00

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