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