def dup_scores(scores, num_winners):
    """Expand a list of scores by a factor of num_winners, yielding one per candidate

    >>> dup_scores([0, 5], 3)
    [0, 0, 0, 5, 5, 5]
    """

    return [s for s in scores for n in range(num_winners)]