MCPcopy Index your code
hub / github.com/PyQt5/PyQt / randRange

Function randRange

Demo/CircleLine.py:75–76  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

73
74
75def randRange(a, b):
76 return random() * (b - a) + a
77
78
79# 生成接近a的随机小数

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected