List Square Python June 13, 2022 by Rajeswari Palanivel list square python l1 = [1,2,3,4,5] l2 = [x**2 for x in l1] l2 >>> [1,4,9,16,25]