Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python random number

from random import randint

print(randint(1,3))

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