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