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