+ 1

range argument

the argument that is specified for the range() function is exclusive right? For example if I execute print (list(range(10)), it will print numbers up to 9 only right?

18th Nov 2016, 11:49 AM
Gio Mikee Justiniano
Gio Mikee Justiniano - avatar
3 Réponses
+ 2
Yep, you are right!
18th Nov 2016, 12:08 PM
Sfincs
Sfincs - avatar
0
Yes
30th Nov 2016, 10:21 AM
Ahasan Al Rabbi
Ahasan Al Rabbi - avatar
0
yap
6th Dec 2016, 9:23 PM
ABDULLAHI JAFAR MUSA