Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a312b0c

Browse files
authoredOct 24, 2024
Fix linting issues
1 parent 89548a3 commit a312b0c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎Patterns/Symbol_Patterns/code/Symbol_Pattern_7/symbol_pattern_7.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ def print_pattern():
22
rows = 5 # Number of rows in the pattern
33
for i in range(rows, 0, -1):
44
# Print leading spaces to align the stars
5-
print(' ' * (rows - i), end='')
5+
print(" " * (rows - i), end="")
66
# Print stars for the current row
7-
print('* ' * i)
7+
print("* " * i)
8+
89

910
print_pattern()

0 commit comments

Comments
 (0)