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