DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
random int in python 3
from random import randint print(randint(1, 10)) # prints a random integer from 1 to 10
PREVIOUS
NEXT
Tagged:
#random
#int
#python
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit