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