Here's a different approach to iterating a list in random order. This doesn't modify the original list unlike the solutions that use shuffle()
lst=['a','b','c','d','e','f']
for value in sorted(lst,key=lambda _: random.random()):
print value
or:
for value in random.sample(lst,len(lst)):
print value