import random


def getRandomSeeds(seeds, num):
    """Given a list of seeds, return a given number of them randomly"""
    seedsResult = []

    for i in range(0, num):
        while True:
            seed = seeds[random.randint(0, len(seeds) - 1)]
            if not(seed in seedsResult):
                seedsResult.append(seed)
                break
    return seedsResult