For loop automatic increment

In case of for loop the range given in bracket for example
for n in range(0,10) means the value of n from 0 to 9 i.e. n=0,n<10.
It has a default increment of 1.

Hi,
The range function in python is designed to move from one value to another value with a specified increment. It is designed such that it will end up with one less than the final value. This design is done to keep in line with the zero indexing policy. In programming indexing will start from zero. This will help you to create loops over large data structures like array, list, tuple etc since these have a zero indexing policy.