how can i print 1 to n number without loops in python code example
Example: print 1to 10 number without using loop in python
def printno(upper):
if(upper>0):
printno(upper-1)
print(upper)
upper=int(input("Enter upper limit: "))
printno(upper)