>>> X=[1,5,7,12] >>> Y=[x**2 for x in X] >>> Y [1, 25, 49, 144]