“…>>> squares_cubes=[[x**2,x**3] for x in range(6) if x**2<=16]; print squares_cubes \ # list comprehension [[0, 0], [1,1], [4,8], [9,27], [16, 64]] >>> for x,y in enumerate(squares_cubes): print x,y, # the enumerate() function [4,8] 3 [9,27] 4 [16,64] >>> print zip(range (5),squares_cubes) # the zip(function) (2, [4, 8]), (3, [9, 27]), (4, [16, 64]…”