import random


def pick_some(sequence, num_items):
    """
    Return a list of between 1 and `num_items` (inclusive) items from
    `sequence`.
    """
    return random.sample(sequence, random.randint(1, num_items))