input: Below is an instruction that describes a task. Write a response that appropriately completes the request.
  
  ### Instruction:
  Using Python, build a dictionary containing the numbers from 1 to n as the key and the square of each number as the value.
  
  ### Input:
  n = 10
  
  ### Output:
  my_dict = {}
  
  for i in range(1,n+1):
   my_dict[i] = i**2
  
  print(my_dict)
  
  ---
  
  def generate_square_dict(n: int) -> dict:
      """
      Generate a dictionary where each key is a number from 1 to n and the value is the square of that number.
  
      >>> generate_square_dict(5)
      {1: 1, 2: 4, 3: 9, 4: 16, 5: 25}
      >>> generate_square_dict(3)
      {1: 1, 2: 4, 3: 9}
      """
      my_dict = {}
      for i in range(1, n + 1):
          my_dict[i] = i ** 2
      return my_dict
output:     my_dict = {}
      for i in range(1, n + 1):
          my_dict[i] = i ** 2
      return my_dict