python range
range(1, 100) # --> prints 1 through 99 numbers
range() python
#can be used a sequence of numbers
x = range(6)
print(x)
#Outputs 0 1 2 3 4 5
for i in range(start,finish ,step)
#gives range of numbers
#start is optional default is 0
#finish needed specifying when to stop
#step is incremetntaition of jump also optional
range
#range function
for a in range(5,-9,-1):#note step can not be 0 or else it will generate error.
print(a,end=',')
output:
5,4,3,2,1,0,-1,-2,-3,-4,-5,-6,-7,-8,
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us