Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ roll
Method
roll
diceV2_dynamic.py:18–19 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
16
)
17
18
def
roll(self):
19
return
random.randint(1, self.sides)
20
21
22
# =====================================================================
Callers
1
output
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected