range () Function
range () function is used to generate a sequence of integers starting form o by default , and increment by 1 by default , till j-1
Syntax :-
range(start,stop,stepsize)
Start:- Starting Position if we do not mention start by default it's 0
*Stop - Ending Position The range of integer stops one element prior to stop if stop is j then it will stop at exact j-1
Step size-increment by stepsize if we do not mention start by default it's 1
No comments:
Post a Comment
for more information please share like comment and subscribe