Answers for "create random array python"

2

random matrix python

np.random.rand(3,2)
Posted by: Guest on March-21-2020
1

random array in python

import random
Items = ["Item1", "Item2", "Item3", "Item4", "Item5"]
print(random.choice (Items))
Posted by: Guest on August-16-2021
-1

python random item of an array

import random
random.choice (mylist)
Posted by: Guest on July-19-2021

Code answers related to "create random array python"

Python Answers by Framework

Browse Popular Code Answers by Language