Skip to content

Commit a954358

Browse files
Add files via upload
1 parent 4b06821 commit a954358

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doormat Design.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
N, M = map(int,raw_input().split()) # More than 6 lines of code will result in 0 score. Blank lines are not counted.
2+
for i in xrange(1,N,2):
3+
print ('.|.'*i).center(M,'-')
4+
print "WELCOME".center(M,'-')
5+
for i in xrange(N-2,-1,-2):
6+
print ('.|.'*i).center(M,'-')

0 commit comments

Comments
 (0)