MCPcopy Index your code
hub / github.com/python/cpython / symRandom

Function symRandom

Lib/turtledemo/forest.py:14–15  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

12from time import perf_counter as clock
13
14def symRandom(n):
15 return randrange(-n,n+1)
16
17def randomize( branchlist, angledist, sizedist ):
18 return [ (angle+symRandom(angledist),

Callers 3

randomizeFunction · 0.85
randomfdFunction · 0.85
treeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…