📜  欢迎垫 - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:55.146000             🧑  作者: Mango

代码示例1
N, M = map(int,input().split())
for i in range(1,N,2): 
    print((i * ".|.").center(M, "-"))
print("WELCOME".center(M,"-"))
for i in range(N-2,-1,-2): 
    print((i * ".|.").center(M, "-"))