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

Function roll

RandomDice.py:10–12  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8
9# Function to rool the dice
10def roll():
11 text.delete(0.0, END)
12 text.insert(END, str(randint(1, 100)))
13
14
15# Defining our GUI

Callers

nothing calls this directly

Calls 2

deleteMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected