Answers for "how to make python pick a random number in a range"

2

how to tell python to create a random numer

#to choose a random number simply do this
import random
print(random.randint(1, 100))
Posted by: Guest on July-22-2020
8

random numbers python

import random
a = (random.randint(bottom value, top value)
Posted by: Guest on July-09-2020

Code answers related to "how to make python pick a random number in a range"

Python Answers by Framework

Browse Popular Code Answers by Language