Skip to content

Commit 459613e

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

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

graphics/butterfly_pattern.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ def butterfly_pattern(n):
66
print("*" * i)
77

88
# Lower part
9-
for i in range(n-1, 0, -1):
9+
for i in range(n - 1, 0, -1):
1010
print("*" * i, end="")
1111
print(" " * (2 * (n - i)), end="")
1212
print("*" * i)
1313

14+
1415
n = int(input("Enter the size: "))
15-
butterfly_pattern(n)
16+
butterfly_pattern(n)

0 commit comments

Comments
 (0)