Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def staircase(n):
- for i in range(1, n + 1):
- stair = ''.join(' ' * (n - i)) + ''.join('#' * i)
- print(stair)
- staircase(6)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement