DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+5 =
Submit