def sum_squares(n):
    """
    What comes in:  A positive integer n.
    What goes out:  The sum of the squares of the integers
       1, 2, 3, ... n, inclusive, for the given n.
    Side effects:   None.
    Example:
      If n is 5,
      this function returns 1 + 4 + 9 + 16 + 25,   which is 55.
    """
    total = 0
    for k in range(n):
        total = total + ((k+1) ** 2)

    return total