Contact: aviboots(AT)netvision.net.il
39,560 questions
51,419 answers
573 users
lst = [5, 7, 8, 1, 0, 9, 2, 3] lstc= [x * x for x in lst if (x % 2 == 0)] print(lstc) ''' run: [64, 0, 4] '''