You are viewing a single comment's thread. Return to all comments →
N,M = input().split(" ") N = int(N) M = int(M) count = 0 l1 = [] for i in range(0,int((N-1)/6)): for j in range(0,int(M),3): count+=1 if count%2==0 and count<int(N): l1.append("-"*int((M-j)/2)+".|."*int(count-1)+"-"*int((M-j)/2)) for i in range(0,len(l1)): print(l1[i]) print(("-"*int((M-7)/2))+"WELCOME"+("-"*int((M-7)/2))) #N for i in range(len(l1),0,-1): print(l1[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 →