• + 4 comments

    I updated my answer based on yours

    n = int(input())
    [print(("#"*f).rjust(n) ) for f in range(1,n+1)]