Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python shuffle

import random

ary = [8, 7, 1, 67, 77, 108, 801, 800, 777, 131, 414]
new_array = random.sample(ary, len(ary) )

for items in range(100):
  print(random.sample(ary, len(new_array)))
Source by note.nkmk.me #
 
PREVIOUS NEXT
Tagged: #python #shuffle
ADD COMMENT
Topic
Name
7+4 =