N = [i for i in range(1, N-1)] sum = sum(N) print(sum)