randomize order of items in a list python code example Example: python randomize list import random random.shuffle(list)