- 1
I don't get it. Help.
Sum of consecutive numbers https://code.sololearn.com/cW4kzrl1Ro2G/?ref=app
2 Answers
+ 4
It's quite easy, btw you complicated it a bit đ
You can write it in 2/3 lines.
https://code.sololearn.com/cRpV67sE4ZNH/?ref=app
Here's the example. :)
I added the explanation in the comments in the code :)
Hope I helped you :)
+ 1
đČ