mirror of
https://github.com/tiennm99/CodePower.git
synced 2026-06-06 14:11:37 +00:00
5 lines
75 B
Python
5 lines
75 B
Python
sum = 0
|
|
n = int(input())
|
|
for i in range (1, n + 1):
|
|
sum += i
|
|
print(sum) |