n = int(input())
summ = 0
for i in range(1, n+1):
summ += i
print(summ)
Ответ:
summa = 0
summa += i
print(summa)
Объяснение:
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
n = int(input())
summ = 0
for i in range(1, n+1):
summ += i
print(summ)
Ответ:
n = int(input())
summa = 0
for i in range(1, n+1):
summa += i
print(summa)
Объяснение: