Answers for "python random 5 number"

2

generate 12 random numbers python

#Array containing 12 random integers from 0 to 100
data = np.random.randint(100,size=(12))
print(data)
Posted by: Guest on August-13-2021
2

how to create a random number between 1 and 10 in python

smallest = 0
largest = 100

random_number = random.randint(smallest, largest - 1)
Posted by: Guest on September-02-2020

Code answers related to "python random 5 number"

Python Answers by Framework

Browse Popular Code Answers by Language