import random


def coin_toss(flips):
    """Return a list of 1s and 0s which correspond to coin tosses.
    Arguments:
    flips -- How many flips in total
    Returns:
    A list of [flips] coin toss results
    """
    return [x for x in [random.randint(0, 1) for x in range(flips)]]