The range(n)
in python returns from 0 to n-1. Respectively, the range(1,n)
from 1 to n-1.
So, if you want to omit the first value and get also the last value (n) you can do it very simply using the following code.
for i in range(1, n + 1):
print(i) #prints from 1 to n