+ 2

How to count numbers between a range..

Numbers between 0-20

8th May 2020, 10:44 AM
Mustafha Ahmad
Mustafha Ahmad - avatar
2 Answers
+ 4
Ok if you are trying to use loop then make a loop . a=[] for I in range (0,20) a.append(I) print(len(a))
8th May 2020, 10:58 AM
Ayush Kumar
Ayush Kumar - avatar
0
Take this hint -- range(0,21)
8th May 2020, 11:17 AM
Hansel