Skip to content

Commit

Permalink
Create numericpattern237.py fixing openAOD#546 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JeninaAngelin authored Oct 30, 2024
1 parent a853c11 commit 77e2128
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Numeric Patterns/numericpattern237.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
for i in range(5):
for j in range(5):
if((i+j)%2==1 and i!=0 and j!=0 and i!=4 and j!=4):
print(0, end=" ")
else:
print(1,end=" ")
print()

# 1 1 1 1 1
# 1 1 0 1 1
# 1 0 1 0 1
# 1 1 0 1 1
# 1 1 1 1 1

0 comments on commit 77e2128

Please sign in to comment.