- 1

Sum of consecutive numbers?

Help me to code sum of consecutive numbers in python

6th Oct 2021, 11:35 AM
Arham Firfire
3 ответов
+ 3
Your attempt?
6th Oct 2021, 11:42 AM
Aleksei Radchenkov
Aleksei Radchenkov - avatar
+ 1
S(n) =( n*(n+1))//2. mathematical formula use this
7th Oct 2021, 7:47 AM
Prabhas Koya
- 1
More than 7!
6th Oct 2021, 6:12 PM
Arham Firfire