Run
import random #initialize a list listA = ['a', 'b', 'c', 'd', 'e'] #shuffle list random.shuffle(listA) print(listA)
Output