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