We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b4b242 commit ae70a55Copy full SHA for ae70a55
strings/butterfly_pattern.py
@@ -30,8 +30,3 @@ def print_butterfly(n: int) -> None:
30
print("*" * i, end="")
31
print(" " * (2 * (n - i)), end="")
32
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