Hi. Nice question.
Here is the simplified answer for you:
>>> import random
>>> x = [1, 2, 3, 4, 3, 4]
>>> random.shuffle(x)
>>> x
[4, 4, 3, 1, 2, 3]
>>> random.shuffle(x)
>>> x
[3, 4, 2, 1, 3, 4]
Random.shuffle does this exact job.
However, if you are open to more reading then I suggest reading the Fisher-Yates Shuffle methodology.
Hope this helped!