Please write a program to shuffle and print the list [3,6,7,8].


Topic: Please write a program to shuffle and print the list [3,6,7,8].

Solution

from random import shuffle
li = [3,6,7,8]
shuffle(li)
print(li)



List all Python Programs