Answers for "print 1to 10 number without using loop in python"

0

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)
Posted by: Guest on May-21-2021

Code answers related to "print 1to 10 number without using loop in python"

Python Answers by Framework

Browse Popular Code Answers by Language