def staircase(n):

    for i in range (1, n+1):
        print(" " * (n - i) + "#" * i)

n = 6
print(staircase(6))
9244dbaa077cff89dec45e5f58ca52dd6a9ccf1d
<mask token>

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


<mask token>

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


<mask token>
print(staircase(6))

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


n = 6
print(staircase(6))

def staircase(n):

    for i in range (1, n+1):
        print(" " * (n - i) + "#" * i)

n = 6
print(staircase(6))