Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ lower_half_incremental_pattern
Function
lower_half_incremental_pattern
Patterns/half triangle pattern.py:62–66 ·
view source on GitHub ↗
(lines=5)
Source
from the content-addressed store, hash-verified
60
61
62
def
lower_half_incremental_pattern(lines=5):
63
for
row_length in range(lines, 0, -1):
64
for
x in range(1, row_length + 1):
65
print(x, end=
""
)
66
print()
67
68
69
if
__name__ ==
"__main__"
:
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected