DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to get a random number in python
import
random random_number
=
random
.
randint
(
1
,
10
)
print
(
random_number
)
Source by machinelearningmastery.com #
PREVIOUS
NEXT
Tagged:
#random
#number
#python
ADD COMMENT
Topic
COMMENT
Name
8+3 =
Submit