Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RT-Thread/env-windows
/ symRandom
Function
symRandom
tools/python-3.11.9-amd64/Lib/turtledemo/forest.py:18–19 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
16
from
time
import
perf_counter
as
clock
17
18
def
symRandom(n):
19
return
randrange(-n,n+1)
20
21
def
randomize( branchlist, angledist, sizedist ):
22
return
[ (angle+symRandom(angledist),
Callers
3
randomize
Function · 0.85
randomfd
Function · 0.85
tree
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected