input: def generate_squared_dict(n: int) -> dict:
      """
      Generate a dictionary where the keys are numbers from 1 to n (both included) and the values are the squares of the keys.
      
      >>> generate_squared_dict(5)
      {1: 1, 2: 4, 3: 9, 4: 16, 5: 25}
      >>> generate_squared_dict(10)
      {1: 1, 2: 4, 3: 9, 4: 16, 5: 25, 6: 36, 7: 49, 8: 64, 9: 81, 10: 100}
      """
      return {i: i**2 for i in range(1, n+1)}
output:     return {i: i**2 for i in range(1, n+1)}