You are viewing a single comment's thread. Return to all comments →
idk, its cute
def print_welcome_mat(n, m): for i in range(1, n, 2): pattern = ('.|.'*i).center(m, "-") print(pattern) print('WELCOME'.center(m, "-")) for i in range(n-2, -1, -2): pattern = (".|."*i).center(m, "-") print(pattern) n, m = map(int, input().split()) print_welcome_mat(n, 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 →
idk, its cute