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