DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to make a random variable in python
import random value = randint(1,10) #1 and 10 represent the range for your random value print(value)
PREVIOUS
NEXT
Tagged:
#random
#variable
#python
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit