input: from typing import Dict
  
  
  def generate_squares_dict(n: int) -> Dict[int, int]:
      """Creates a dictionary where the keys are numbers from 1 to n (both included)
      and the values are the squares of the keys.
  
      >>> generate_squares_dict(5)
      {1: 1, 2: 4, 3: 9, 4: 16, 5: 25}
      >>> generate_squares_dict(3)
      {1: 1, 2: 4, 3: 9}
      """
      return {i: i**2 for i in range(1, n + 1)}
output:     return {i: i**2 for i in range(1, n + 1)}