Skip to content

Commit

Permalink
Fixes openAOD#813 by creating symbolicpattern176.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JeninaAngelin authored Oct 30, 2024
1 parent a853c11 commit 6c3ade4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Symbol Patterns/symbolicpattern176.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
n=5
for i in range(n):
if i == 0 or i == n - 1 or i==n//2:
print("*" * n)
elif(i<n//2):
print("*"+n*" ")
else:
print((n-1)*" "+"*")

# output
# *****
# *
# *****
# *
# *****

0 comments on commit 6c3ade4

Please sign in to comment.