Indexing for range

the indexing for range in which we have to fin the numbers of ones is 0 based or 1 based indexing ?

@debyian
it is 1 based