list_square = [] for i in range(1,4): list_square.append(i**2) print(list_square)
list_square2 = [i**2 for i in range(1,4) if i !=1] print(list_square2)