How we add first ten natural numbers in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How we add first ten natural numbers in python

20th Dec 2019, 6:41 PM
Autharv Bansal
Autharv Bansal - avatar
2 Answers
+ 4
Mirielle, shouldn't it be: for i in range(1,11): ?
20th Dec 2019, 7:34 PM
Lothar
Lothar - avatar
20th Dec 2019, 7:26 PM
Coding Cat
Coding Cat - avatar