Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ pattern
Function
pattern
reversed_pattern3.py:14–19 ·
view source on GitHub ↗
(lines)
Source
from the content-addressed store, hash-verified
12
13
14
def
pattern(lines):
15
t = 1
16
for
i in reversed(range(1, (lines + 1))):
17
format = str(t) * i
18
print(format)
19
t = t + 1
20
21
22
if
__name__ ==
"__main__"
:
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected