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.
- Prepare
- Python
- Strings
- Designer Door Mat
- Discussions
Designer Door Mat
Designer Door Mat
Sort by
recency
|
1672 Discussions
|
Please Login in order to post a comment
m, n = map(int, input().split())
def pat(m, n): i=0 j=m-1 while iz + ".|."(2*i+1) + "-"z) elif i==(m//2): print("-"((n-7)//2) + "WELCOME" + "-"((n-7)//2)) else: z=(n-3(2*j+1))//2 print("-"z + ".|."(2*j+1) + "-"*z) i+=1 j-=1
pat(m,n)
idk, its cute