79442959

Date: 2025-02-16 10:30:21
Score: 1
Natty:
Report link
n,m= map(int, input().split())
a='.|.'
t='.|.'
x=[]
for i in range (1,n+1):
    p=0
    if i<(n+1)/2:
        print(a.center(m,'-'))
        a=a+'.|.'+'.|.'
    elif i==(n+1)/2:
        print('WELCOME'.center(m,'-'))
    
for i in range(n-2, 0, -2):
        print((t * i).center(m, "-"))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chandan Maurya