<reponame>tushartrip1010/100_days_code_py<gh_stars>0
def Inverted_Star(n):
    for i in range(n, 0, -1):
        print((n-i)*' ' + i * '*')


n = int(input("Enter N: "))
Inverted_Star(n)

def Inverted_Star(n):
    for i in range(n, 0, -1):
        print((n-i)*' ' + i * '*')


n = int(input("Enter N: "))
Inverted_Star(n)