DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
random .randint renpy
# return a random integer between 1 and 20
$ d20roll
=
renpy
.
random
.
randint
(
1
,
20
)
Source by www.renpy.org #
PREVIOUS
NEXT
Tagged:
#random
#renpy
ADD COMMENT
Topic
COMMENT
Name
7+4 =
Submit