[Python] Python implementation[Python] Python implementation
🎆
Happy New Year
Week 1, 2026
//Paste your solution here if you want to share it publicly
n = int(input())
for i in range(n):
for j in range(n):
if i == n // 2:
print("-", end="")
elif j == n // 2:
print("|", end="")
elif i == j:
print("\\", end="")
elif i == n - j - 1:
print("/", end="")
else:
print(" ", end="")
print()