Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ dice8
Function
dice8
dice_rolling_simulator.py:69–73 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
67
68
69
def
dice8():
70
dice_8 = random.randint(1, 8)
71
print(
"\r\nYou rolled a "
+ str(dice_8) +
"!"
)
72
73
user_exit_checker()
74
75
76
def
dice12():
Callers
1
result
Function · 0.85
Calls
1
user_exit_checker
Function · 0.85
Tested by
no test coverage detected