Contact: aviboots(AT)netvision.net.il
42,690 questions
55,449 answers
573 users
lst = [1, 2, 3, 4, 5] squares = [n**2 for n in lst] print(squares) ''' run: [1, 4, 9, 16, 25] '''