Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TheAlgorithms/Python
/ butterfly_pattern.py
File
butterfly_pattern.py
graphics/butterfly_pattern.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
def
butterfly_pattern(n: int) -> str:
2
""
"
3
Creates a butterfly pattern of size n and returns it
as
a string.
4
Callers
nothing calls this directly
Calls
1
butterfly_pattern
Function · 0.85
Tested by
no test coverage detected