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