You are viewing a single comment's thread. Return to all comments →
DASH: str = '-' ICON: str = '.|.' WELCOME: str = 'WELCOME' n, m = map(int, input().split()) piramid = [(ICON * (i * 2 + 1)).center(m, DASH) for i in range(n // 2)] print('\n'.join(piramid + [WELCOME.center(m, DASH)] + piramid[::-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 →