to display the series of natural no 1 to 10. in python code example
Example: print from 1 to n in python
#To print a number from 1 to n (n being any number you want + 1, since python wont print the ranged number)
for i in range(1,n):
print(i)
#To print a number from 1 to n (n being any number you want + 1, since python wont print the ranged number)
for i in range(1,n):
print(i)