-
-
Notifications
You must be signed in to change notification settings - Fork 46k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print a butterfly pattern using python. #12151
Comments
Assign me this and use label hacktoberfest. |
is this issue solved? if not then assign it to me, I would like work on it. |
Hey, I have optimized the code and reduced the number of lines of code. Can you assign it to me? |
Hi please assign this issue to me, if it's not closed |
Size of the butterfly patternsize = 5 Upper part of the butterflyfor i in range(1, size + 1): Lower part of the butterflyfor i in range(size - 1, 0, -1): |
def butterfly_pattern(n):
Change the value of n for a larger or smaller patternn = 5 |
Feature description
You need to take a user input n. and print a butterfly pattern using the input received from the user as side length.
You need to print the above shown pattern from the image.
The text was updated successfully, but these errors were encountered: