Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

random.shuffle


import random

list = [20, 16, 10, 5]
random.shuffle(list)
print("Reshuffled list : ",list)

OUTPUT:
Reshuffled list :  [16, 5, 10, 20]
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
5+1 =