Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
Binary file added Patterns/.DS_Store
Binary file not shown.
Binary file added Patterns/Symbol_Patterns/.DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions Patterns/Symbol_Patterns/code/Symbol_Pattern_7/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Symbol Pattern 7

**Pattern Image:**

![image](https://github.com/Punit-Choudhary/Python-beginner-scripts/blob/main/Patterns/Symbol_Patterns/img/7.PNG)

**Contributor:** [Soham Pande](https://github.com/soham-1902)

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!

Discord server - http://pragmaticprogrammer.in/discord

Happy Coding :purple_heart:
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
def print_pattern():
rows = 5 # Number of rows in the pattern
for i in range(rows, 0, -1):
# Print leading spaces to align the stars
print(' ' * (rows - i), end='')
# Print stars for the current row
print('* ' * i)

print_pattern()