Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

generate random list of number py

import random
# list of n elements, going between a and b
list = [random.randint(a,b) for _ in range(n)]
print("list:", list)
 
PREVIOUS NEXT
Tagged: #generate #random #list #number #py
ADD COMMENT
Topic
Name
3+7 =