We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89548a3 commit a312b0cCopy full SHA for a312b0c
Patterns/Symbol_Patterns/code/Symbol_Pattern_7/symbol_pattern_7.py
@@ -2,8 +2,9 @@ def print_pattern():
2
rows = 5 # Number of rows in the pattern
3
for i in range(rows, 0, -1):
4
# Print leading spaces to align the stars
5
- print(' ' * (rows - i), end='')
+ print(" " * (rows - i), end="")
6
# Print stars for the current row
7
- print('* ' * i)
+ print("* " * i)
8
+
9
10
print_pattern()
0 commit comments