Skip to content

Commit 9517659

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b23e9c1 commit 9517659

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

patterns/pyramid_pattern.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,11 @@
99
*********
1010
"""
1111

12+
1213
def pyramid(n: int) -> None:
1314
for i in range(n):
1415
print(" " * (n - i - 1) + "*" * (2 * i + 1))
1516

1617

1718
if __name__ == "__main__":
18-
pyramid(5)
19+
pyramid(5)

0 commit comments

Comments
 (0)