repo.or.cz
/
nameless-bot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Made a small but subtle change.
[nameless-bot.git]
/
die.py
blob
0da453d6487b25d2015fc9c66fe35a4f2a40012f
1
from
random
import
randrange
as
rand
2
3
def
roll
(
num
) :
4
diceroll
=
rand
(
1
,
num
+
1
)
5
return
diceroll
6
7
print
(
roll
(
6
) )