Answers for "randomise between 1 and 3 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 "randomise between 1 and 3 python"

Python Answers by Framework

Browse Popular Code Answers by Language