Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ lower_half_repeat_pattern
Function
lower_half_repeat_pattern
Patterns/half triangle pattern.py:50–52 ·
view source on GitHub ↗
(lines=5)
Source
from the content-addressed store, hash-verified
48
49
50
def
lower_half_repeat_pattern(lines=5):
51
for
length in range(lines, 0, -1):
52
print(f
"{str(length) * length}"
)
53
54
55
def
upper_half_incremental_pattern(lines=5):
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected