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