Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python random number

from random import randint

print(randint(1,5))

##Possible Outputs##
#1
#2
#3
#4
#5
Source by machinelearningmastery.com #
 
PREVIOUS NEXT
Tagged: #python #random #number
ADD COMMENT
Topic
Name
6+4 =