input: 
  def build_square_dict(n: int) -> dict:
      """
      Build a dictionary where the keys are numbers from 1 to n, and the values are
      the squares of the keys.
      
      >>> build_square_dict(5)
      {1: 1, 2: 4, 3: 9, 4: 16, 5: 25}
      
      >>> build_square_dict(3)
      {1: 1, 2: 4, 3: 9}
      """
  
output:     square_dict = {}
      for i in range(1, n + 1):
          square_dict[i] = i * i
      return square_dict