def print_num(n):
if n > 0:
print_num(n - 1)
print(n, end = ' ')
n = int(input())
print('printed numbers are:')
print_num(n)
printing numbers
0
0
Mahendra Kumar
Print numbers in a given range in Python using While Loop
0 Comments
Add Comment
Log in to add a comment