Skip to content

Commit

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

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

0 comments on commit da635ed

Please sign in to comment.