demo_ref_random_shuffle.py:
import random mylist = ["apple", "banana", "cherry"] random.shuffle(mylist) print(mylist)
C:\Users\My Name>python demo_random_shuffle.py