(sum of consecutive Numbers) using range(python) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

(sum of consecutive Numbers) using range(python)

How can I solve the problem in the section (sum of consecutive Numbers) using range?

29th Sep 2021, 7:36 PM
Aydin
Aydin - avatar
2 ответов
+ 3
Hint: receive the input, calculate with it the range and use a for loop for calculation the sum.
29th Sep 2021, 7:50 PM
JaScript
JaScript - avatar
+ 1
Okay thanks♥️. I will definitely try
29th Sep 2021, 7:55 PM
Aydin
Aydin - avatar