def divide_by(array_list, num_workers):
    """
    Divide a list of parameters by an integer num_workers.
    """
    for i, x in enumerate(array_list):
        array_list[i] /= num_workers
    return array_list
