import random


def intersperse(ls, seps):
    """
    intersperse(ls, seps) puts a separator between each element of
    ls, randomly chosen from seps.
    """
    return [y for x in ls for y in [x, random.choice(seps)]][:-1]