Does anyone know a way to scramble the elements in a list?
Question: 
    thelist = ['a','b','c','d']
    

How I can to scramble them in Python?


Answer: 
    >>> import random
    >>> thelist = ['a', 'b', 'c', 'd']
    >>> random.shuffle(thelist)
    >>> thelist
    ['d', 'a', 'c', 'b']
    

Your result will (hopefully!) vary.

