Search
 
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
Name
2+3 =