You are viewing a single comment's thread. Return to all comments →
def num(n): for i in range(1,n+1): product = n -(n-i) print(product, end="")
n = int(input("enter the number : ") num(n)
Seems like cookies are disabled on this browser, please enable them to open this website
Print Function
You are viewing a single comment's thread. Return to all comments →
def num(n): for i in range(1,n+1): product = n -(n-i) print(product, end="")
n = int(input("enter the number : ") num(n)