Designer Door Mat

  • + 0 comments
    n, m = map(int, input().split())
    
    x=n//2
    for i in range(x):
        a=".|."*(2*(i+1)-1)
        print(a.center(m,"-"))
    print("WELCOME".center(m, "-"))
    for i in range(x):
        b=".|."*((2*(x-i)-1))
        print(b.center(m,"-"))