Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- n = int(input())
- for row in range(1, n + 1):
- print(' ' * (n - row) + '* ' * row)
- for row in range(n - 1, 0, - 1):
- print(' ' * (n - row) + '* ' * row)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement