I need a help at quiz in python for beginners (Sum of Consecutive Numbers) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I need a help at quiz in python for beginners (Sum of Consecutive Numbers)

I can not do it well

14th Dec 2021, 2:40 PM
Mohsen Mohamed
Mohsen Mohamed - avatar
2 Answers
+ 2
Check end of lection 33.1 again, this is about ranges in for loop. You can use this to loop from 1 to given number(input) and do something(calculate sum)
14th Dec 2021, 2:55 PM
PanicS
PanicS - avatar
+ 1
Ok Thank you
14th Dec 2021, 3:51 PM
Mohsen Mohamed
Mohsen Mohamed - avatar