def divide_by(array_list, num_workers):
    """Divide a list of parameters by an integer num_workers.

    :param array_list:
    :param num_workers:
    :return:
    """
    for i, x in enumerate(array_list):
        array_list[i] /= num_workers
    return array_list
