Welcome folks today in this blog post we will be
printing numbers in a range without loops in python All the full source code of the application is shown below.
In order to get started you need to make a
app.py file and copy paste the following code
def print_num(lower, upper): if(upper + 1 > lower): print_num(lower, upper - 1) print(upper) lower = int(input("Enter lower limit: ")) upper = int(input("Enter upper limit: ")) print_num(lower, upper)