Advertisement
GalinaKG

Christmas tree

May 22nd, 2022
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.09 KB | None | 0 0
  1. n = int(input())
  2.  
  3. for i in range(n + 1):
  4.     print(f"{' ' * (n - i)}{'*' * i} | {'*' * i}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement