You are viewing a single comment's thread. Return to all comments →
n, m = map(int, input().split())
for i in range(1, n, 2): print((".|." * i).center(m, "-"))
print("WELCOME".center(m, "-"))
for i in range(n-2, 0, -2): print((".|." * i).center(m, "-"))
Seems like cookies are disabled on this browser, please enable them to open this website
Designer Door Mat
You are viewing a single comment's thread. Return to all comments →
n, m = map(int, input().split())
for i in range(1, n, 2): print((".|." * i).center(m, "-"))
print("WELCOME".center(m, "-"))
for i in range(n-2, 0, -2): print((".|." * i).center(m, "-"))