DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
randint()
import random print(random.randint(2, 8)) # This generates a random number from 2 to 8
PREVIOUS
NEXT
Tagged:
ADD COMMENT
Topic
COMMENT
Name
9+3 =
Submit