Python For Loop Using range(start, stop, step size) Function


Python For Loop using range(start, stop, step size) or range(a, b, c), it will print an integer from a to b-1 and will skip the number by c.

Program
# Using range(start,stop, step size) or range(a,b,c) # Will print integer from a to b-1. # Will skip the number by c for a in range(3,11,2): print(a)
Input
Output