Answers for "random variable definition in python"

1

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)
Posted by: Guest on March-25-2020

Code answers related to "random variable definition in python"

Python Answers by Framework

Browse Popular Code Answers by Language