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