You are viewing a single comment's thread. Return to all comments →
n,m = map(int,input().split())
c=".|."
for i in range(n//2): print((c*(2*i+1)).center(m,'-'))
print(("WELCOME").center(m,'-'))
for j in range(n//2-1,-1,-1): print((c*(2*j+1)).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())
c=".|."
for i in range(n//2): print((c*(2*i+1)).center(m,'-'))
print(("WELCOME").center(m,'-'))
for j in range(n//2-1,-1,-1): print((c*(2*j+1)).center(m,'-'))