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