You are viewing a single comment's thread. Return to all comments →
N, M = map(int, input().split()) # Top half for i in range(1, N - 1, 2): print(('.|.' * i).center(M, '-')) # WELCOME line print('WELCOME'.center(M, '-')) # Bottom half for i in range(N - 2, 0, -2): print(('.|.' * i).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 →