You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': N, M = input().split() N, M = int(N), int(M) for x in range(N - 1): if x % 2 == 0: print((".|." * (x + 1)).center(M, '-')) print("WELCOME".center(M, '-')) for x in reversed(range(N - 1)): if x % 2 == 0: print((".|." * (x + 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 →