Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/geekcomputers/Python
/ dice12
Function
dice12
dice_rolling_simulator.py:76–80 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
74
75
76
def
dice12():
77
dice_12 = random.randint(1, 12)
78
print(
"\r\nYou rolled a "
+ str(dice_12) +
"!"
)
79
80
user_exit_checker()
81
82
83
def
user_exit_checker():
Callers
1
result
Function · 0.85
Calls
1
user_exit_checker
Function · 0.85
Tested by
no test coverage detected