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