n = int(input())
summa = 0
for i in range(-n, 1):
___summa += i
print(summa)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
n = int(input())
summa = 0
for i in range(-n, 1):
___summa += i
print(summa)