[Python] Python Solution[Python] Python Solution
🎆
Happy New Year
Week 1, 2026
def firework(size):
store = []
b = '\\'
f = '|'
r = '/'
space = (size-3)//2
for i in range(size//2):
store.append(f"{" "*i}{b}{" "*space}{f}{" "*space}{r}{" "*i}")
space -= 1
for s in store: print(s)
print("-"*size)
store = store[::-1]
for s in store:
print(s[::-1])
firework(99)