/**
 * Given a dictionary and a list of keys to exclude, remove the key-value pairs from the dictionary
 * that have keys present in the exclusion list.
 *
 * @param dictionary The dictionary from which key-value pairs need to be removed.
 * @param keysToExclude The list of keys that should not be present in the resulting dictionary.
 * @return The modified dictionary with excluded key-value pairs removed.
 */
fun deleteEntries(dictionary: Map<String, Any>, keysToExclude: List<String>): Map<String, Any> {

    return dictionary.filterNot { it.key in keysToExclude }
}
/**
 * Given a dictionary and a list of keys to exclude, remove the key-value pairs from the dictionary
 * that have keys present in the exclusion list.
 *
 * @param dictionary The dictionary from which key-value pairs need to be removed.
 * @param keysToExclude The list of keys that should not be present in the resulting dictionary.
 * @return The modified dictionary with excluded key-value pairs removed.
 */
fun deleteEntries(dictionary: Map<String, Any>, keysToExclude: List<String>): Map<String, Any> {
/**
 * Given a dictionary and a list of keys to exclude, remove the key-value pairs from the dictionary
 * that have keys present in the exclusion list.
 *
 * @param dictionary The dictionary from which key-value pairs need to be removed.
 * @param keysToExclude The list of keys that should not be present in the resulting dictionary.
 * @return The modified dictionary with excluded key-value pairs removed.
 */
fun deleteEntries(dictionary: Map<String, Any>, keysToExclude: List<String>): Map<String, Any> {

    return dictionary.filterNot { it.key in keysToExclude }
}