+ 3

Please pals am still a toddler in programming, please can someone explain the function of (range) for me please.

python

12th Mar 2018, 9:11 PM
Victor Nwosunneji
Victor Nwosunneji - avatar
2 Answers
+ 6
ok range will give you every number between a and b range (a , b) (range includes the value of a but goes up to but not including b) you can also set an increase eg range (1, 11 , 2) will go up every 2 so 1,3,5,7,9
12th Mar 2018, 9:16 PM
Obbu
Obbu - avatar