0
5-ое задание
Нет пояснений как считать сумму. А как определить верхнюю границу (n+1) я и так знаю There is no explanation of how to calculate the amount. And how to determine the upper bound (n 1), I already know https://code.sololearn.com/crNhTr06TK9Q/?ref=app
2 Answers
+ 4
You have to indent every time you use a loop or decision statements.
Because, python is very sensitive about indenting.
for i in range(0,N+1):
count = count+i
i=i+1
print(count)
+ 1
Thanks