Программа:
Python:
sum = 0
for i in range(2, 16 + 1):
sum += i
print(sum)
Вывод: 135
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
Программа:
Python:
sum = 0
for i in range(2, 16 + 1):
sum += i
print(sum)
Вывод: 135