/**
 * As a fashion designer, you have a dictionary that represents your fashion collection.
 * Your task is to modify the items in the dictionary according to the given specifications.
 *
 * @param fashionDict A dictionary representing the fashion collection.
 * @param toRemove A list of items to be removed from the fashion collection.
 * @param toAdd A dictionary containing new items to add to the fashion collection.
 * @return The modified fashion collection.
 */
fun modifyItems(fashionDict: MutableMap<String, Double>, toRemove: List<String>, toAdd: Map<String, Double>): MutableMap<String, Double> {

    // Remove specified items from the fashion collection
    for (item in toRemove) {
        fashionDict.remove(item)
    }

    // Add new items to the fashion collection
    fashionDict.putAll(toAdd)

    return fashionDict
}

// Dictionary representing the fashion collection
val collection = mutableMapOf(
    "dress" to 150.00,
    "hat" to 50.00,
    "shoes" to 200.00
)

// List of items to be removed from the fashion collection
val itemsToRemove = listOf("hat", "shoes")
/**
 * As a fashion designer, you have a dictionary that represents your fashion collection.
 * Your task is to modify the items in the dictionary according to the given specifications.
 *
 * @param fashionDict A dictionary representing the fashion collection.
 * @param toRemove A list of items to be removed from the fashion collection.
 * @param toAdd A dictionary containing new items to add to the fashion collection.
 * @return The modified fashion collection.
 */
fun modifyItems(fashionDict: MutableMap<String, Double>, toRemove: List<String>, toAdd: Map<String, Double>): MutableMap<String, Double> {
/**
 * As a fashion designer, you have a dictionary that represents your fashion collection.
 * Your task is to modify the items in the dictionary according to the given specifications.
 *
 * @param fashionDict A dictionary representing the fashion collection.
 * @param toRemove A list of items to be removed from the fashion collection.
 * @param toAdd A dictionary containing new items to add to the fashion collection.
 * @return The modified fashion collection.
 */
fun modifyItems(fashionDict: MutableMap<String, Double>, toRemove: List<String>, toAdd: Map<String, Double>): MutableMap<String, Double> {

    // Remove specified items from the fashion collection
    for (item in toRemove) {
        fashionDict.remove(item)
    }

    // Add new items to the fashion collection
    fashionDict.putAll(toAdd)

    return fashionDict
}

// Dictionary representing the fashion collection
val collection = mutableMapOf(
    "dress" to 150.00,
    "hat" to 50.00,
    "shoes" to 200.00
)

// List of items to be removed from the fashion collection
val itemsToRemove = listOf("hat", "shoes")