MCPcopy Create free account
hub / github.com/geekcomputers/Python / dice6

Function dice6

dice_rolling_simulator.py:61–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59
60# Below are our dice functions.
61def dice6():
62 # Getting a random number between 1 and 6 and printing it.
63 dice_6 = random.randint(1, 6)
64 print("\r\nYou rolled a " + str(dice_6) + "!\r\n")
65
66 user_exit_checker()
67
68
69def dice8():

Callers 1

resultFunction · 0.85

Calls 1

user_exit_checkerFunction · 0.85

Tested by

no test coverage detected