We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
importmathN,M=map(int,input().split())# M = 3*N #because it will be done implicitly by hackerank, no need to ovrwritero=math.floor(N/2)foriinrange(0,ro):print(('.|.'*(i*2+1)).center(M,'-'))print('WELCOME'.center(M,'-'))foriinrange(ro-1,-1,-1):print(('.|.'*(i*2+1)).center(M,'-'))
Cookie support is required to access HackerRank
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 →