We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b683e0 commit dc456feCopy full SHA for dc456fe
Designer_door_mat.py
@@ -0,0 +1,10 @@
1
+pattern = '.|.'
2
+a, b = map(int, input().split()) # 5 < a < 101 and 15 < b < 303
3
+
4
+for i in range(1,a,2):
5
+ print((pattern*i).center(b, '-'))
6
7
+print('WELCOME'.center(b,'-'))
8
9
+for i in reversed(range(1,a,2)):
10
0 commit comments