Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ upper_half_incremental_pattern
Function
upper_half_incremental_pattern
Patterns/half triangle pattern.py:55–59 ·
view source on GitHub ↗
(lines=5)
Source
from the content-addressed store, hash-verified
53
54
55
def
upper_half_incremental_pattern(lines=5):
56
const =
""
57
for
column in range(1, (lines + 1)):
58
const += str(column)
59
print(const)
60
61
62
def
lower_half_incremental_pattern(lines=5):
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected