Skip to content

Commit ae70a55

Browse files
author
Medha
committed
added butterfy_pattern under strings folder
1 parent 5b4b242 commit ae70a55

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

strings/butterfly_pattern.py

-5
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,3 @@ def print_butterfly(n: int) -> None:
3030
print("*" * i, end="")
3131
print(" " * (2 * (n - i)), end="")
3232
print("*" * i)
33-
34-
35-
# Ask the user for input and print the butterfly
36-
n = int(input("Enter the value of n: "))
37-
print_butterfly(n)

0 commit comments

Comments
 (0)