DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to tell python to create a random numer
#to choose a random number simply do this
import
random
print
(
random
.
randint
(
1
,
100
)
)
PREVIOUS
NEXT
Tagged:
#python
#create
#random
#numer
ADD COMMENT
Topic
COMMENT
Name
3+7 =
Submit