def remove_items_from_dict(a_dict, bad_keys):
    """
    Remove every item from a_dict whose key is in bad_keys.

    :param a_dict: The dict to have keys removed from.
    :param bad_keys: The keys to remove from a_dict.
    :return: A copy of a_dict with the bad_keys items removed.
    """
    new_dict = {}
    for k in a_dict.keys():
        if k not in bad_keys:
            new_dict[k] = a_dict[k]
    return new_dict