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