MCPcopy Create free account
hub / github.com/geekcomputers/Python / pattern

Function pattern

Patterns/pattern5.py:14–18  ·  view source on GitHub ↗
(rows)

Source from the content-addressed store, hash-verified

12
13
14def pattern(rows):
15 const = ""
16 for i in range(1, rows + 1):
17 const = str(i) + const
18 print(const)
19
20
21if __name__ == "__main__":

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected