You are viewing a single comment's thread. Return to all comments →
if __name__ == '__main__': height, width = map(int, input().split(" ")) wcenter = int(width / 2) hcenter = int(height / 2) for i in range(hcenter): print('-' * (wcenter - 3 * i - 1) + ".|." * (2 * i + 1) + '-' * (wcenter - 3 * i - 1)) print('-' * (wcenter - 3) + "WELCOME" + '-' * (wcenter - 3)) for i in range(hcenter - 1, -1, -1): print('-' * (wcenter - 3 * i - 1) + ".|." * (2 * i + 1) + '-' * (wcenter - 3 * i - 1))
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 →