input: Write a Python function to generate the first 10 perfect squares.
  assert generate_perfect_squares() == [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
output: def generate_perfect_squares():
      return [i * i for i in range(1, 11)]