def sum_squares_smaller_n(n):
    sum_squares = 0
    for i in range(1, n):
        sum_squares = sum_squares + i ** 2
    return sum_squares


if __name__ == '__main__':
    n = int(input('Cual es el número: '))
    sum_squares = sum_squares_smaller_n(n)
    print(sum_squares)

f9b4b291055b1c25dabc7fb2e0059a23e5eaf141
<mask token>

def sum_squares_smaller_n(n):
    sum_squares = 0
    for i in range(1, n):
        sum_squares = sum_squares + i ** 2
    return sum_squares


<mask token>

def sum_squares_smaller_n(n):
    sum_squares = 0
    for i in range(1, n):
        sum_squares = sum_squares + i ** 2
    return sum_squares


if __name__ == '__main__':
    n = int(input('Cual es el número: '))
    sum_squares = sum_squares_smaller_n(n)
    print(sum_squares)
