david-clifford commited on
Commit
5ae064e
·
verified ·
1 Parent(s): 61a407e

Update app.py int response to die roll tool

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ def toss_a_die(k: int) -> int:
30
 
31
  try:
32
  value = random.randint(1, k)
33
- return f"The random roll of a dice gives a value of {value}"
34
  except Exception as e:
35
  return f"How many sides does the dice have?"
36
 
 
30
 
31
  try:
32
  value = random.randint(1, k)
33
+ return value
34
  except Exception as e:
35
  return f"How many sides does the dice have?"
36