• + 0 comments

    For Python3 Platform

    I wrote the code from scratch just to get more practice

    def staircase(n):
        for i in range(1,n+1):
            print(" "*(n-i) + "#"*i)
    
    n = int(input())
    
    staircase(n)