Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

for count in range(size):

def makeRandomList(size):
    lyst = []
    for count in range(size):
        while True:
            number = random.randint(1, size)
            if not number in lyst:
                lyst.append(number)
                break
    return lyst
Source by www.chegg.com #
 
PREVIOUS NEXT
Tagged: #count
ADD COMMENT
Topic
Name
5+9 =