• + 2 comments

    try this

    count = 1
    while(count <= n):
        print(('#' * count).rjust(n))
        count += 1