Skip to content

Commit 77e2128

Browse files
Create numericpattern237.py fixing openAOD#546 issue
1 parent a853c11 commit 77e2128

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Diff for: Numeric Patterns/numericpattern237.py

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
for i in range(5):
2+
for j in range(5):
3+
if((i+j)%2==1 and i!=0 and j!=0 and i!=4 and j!=4):
4+
print(0, end=" ")
5+
else:
6+
print(1,end=" ")
7+
print()
8+
9+
# 1 1 1 1 1
10+
# 1 1 0 1 1
11+
# 1 0 1 0 1
12+
# 1 1 0 1 1
13+
# 1 1 1 1 1

0 commit comments

Comments
 (0)