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

Function randint

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

Source from the content-addressed store, hash-verified

66
67
68def randint(a, b):
69 return floor(random() * (b - a + 1) + a)
70
71
72# 生成随机小数

Callers 11

get_iconFunction · 0.85
__init__Method · 0.85
runMethod · 0.85
__init__Method · 0.85
onClickMethod · 0.85
__init__Method · 0.85
runMethod · 0.85
__init__Method · 0.85
setRandomValueMethod · 0.85
initUiMethod · 0.85
initChartMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected