Generate Shuffle a list randomly


Topic: Generate Shuffle a list randomly

Solution

import random
list = [2,5,8,9,12]
random.shuffle(list)
print ("Printing shuffled list ", list)



List all Python Programs