Answers for "random list with python"

1

random list python

import random
#random numbers 0-9 in a list of length 10
array = [random.randint(0,9) for i in range(10)]
print(array)
Posted by: Guest on November-16-2021

Code answers related to "random list with python"

Browse Popular Code Answers by Language