MCPcopy Index your code
hub / github.com/geekcomputers/Python / fractal

Function fractal

Recursion Visulaizer/recursionVisualizer.py:59–67  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

57
58
59def fractal(i):
60 if i < 10:
61 return
62 else:
63 cycle(random.randint(1, i + 1))
64 cycle(random.randint(1, i))
65 cycle(random.randint(1, i - 1))
66 cycle(random.randint(1, i - 2))
67 print("fractal execution complete")
68
69
70fractal(random.randint(1, 200))

Callers 1

Calls 1

cycleFunction · 0.85

Tested by

no test coverage detected