hacker rank python(Designer Door mat)solution
DESIGNER DOOR MAT
# Enter your code here. Read input from STDIN. Print output to STDOUT
N,M=map(int,str(raw_input()).split())
for i in range(1,N,2):
print((i*".|.").center(M,'-'))
print("WELCOME".center(M,'-'))
for j in range(N-2,-1,-2):
print((j*".|.").center(M,'-'))
Comments
It’s very good blog! For sharing content and such nice information for me. I hope you will share some more content about. Please keep sharing!Shelf Mat Sheets
It’s very good blog! For sharing content and such nice information for me. I hope you will share some more content about. Please keep sharing!Shelf Mat Sheets