input: Write a function to create a dictionary where the keys are numbers from 1 to n and the values are the squares of those numbers. Provide the dictionary as the output.
  def generate_square_dict(n):
      my_dict = {}
      for i in range(1, n+1):
          my_dict[i] = i**2
      return my_dict
  
  assert generate_square_dict(5) == {1: 1, 2: 4, 3: 9, 4: 16, 5: 25}
  assert generate_square_dict(0) == {}
  assert generate_square_dict(1) == {1: 1}
output: def generate_square_dict(n):
      my_dict = {}
      for i in range(1, n+1):
          my_dict[i] = i**2
      return my_dict