# Create a list of squared numbers squares = [x ** 2 for x in range(1, 6)] # Print list print(squares) >>> [1, 4, 9, 16, 25]