input: Write a python function to generate a list of squares of numbers from 1 to 10.
  assert generate_squares() == [1, 4, 9, 16, 25, 36, 49, 64, 81, 100]
  assert generate_squares() == [i*i for i in range(1, 11)]
  assert generate_squares() != [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
output: def generate_squares():
      return [i*i for i in range(1, 11)]