/**
 * Imagine you are an interior designer and you are given a dictionary containing information about the items in a room.
 * Each key in the dictionary represents a different item, and the value associated with each key is a tuple containing
 * various details about that item.
 *
 * Your task is to modify a specific item in the dictionary by changing one of its details easily.
 *
 * @param dictionary A dictionary representing the items in a room. Each key is a string and each value is a tuple
 *                   with the following format: (name, color, price)
 * @param tupleIndex An integer representing the index of the detail you want to modify in the tuples. The possible
 *                   options are: 0 for name, 1 for color, and 2 for price.
 * @return The modified dictionary with the desired item detail changed.
 */
fun modifyInteriorDesign(dictionary: MutableMap<String, Triple<String, String, Double>>, tupleIndex: Int): MutableMap<String, Triple<String, String, Double>> {

    // Extracting the item names from the dictionary
    val items = dictionary.keys.toList()

    // Printing the available item options to choose from
    println("Available items to modify: ${items.joinToString()}")

    // Getting the user's selection

    return dictionary
}
/**
 * Imagine you are an interior designer and you are given a dictionary containing information about the items in a room.
 * Each key in the dictionary represents a different item, and the value associated with each key is a tuple containing
 * various details about that item.
 *
 * Your task is to modify a specific item in the dictionary by changing one of its details easily.
 *
 * @param dictionary A dictionary representing the items in a room. Each key is a string and each value is a tuple
 *                   with the following format: (name, color, price)
 * @param tupleIndex An integer representing the index of the detail you want to modify in the tuples. The possible
 *                   options are: 0 for name, 1 for color, and 2 for price.
 * @return The modified dictionary with the desired item detail changed.
 */
fun modifyInteriorDesign(dictionary: MutableMap<String, Triple<String, String, Double>>, tupleIndex: Int): MutableMap<String, Triple<String, String, Double>> {
/**
 * Imagine you are an interior designer and you are given a dictionary containing information about the items in a room.
 * Each key in the dictionary represents a different item, and the value associated with each key is a tuple containing
 * various details about that item.
 *
 * Your task is to modify a specific item in the dictionary by changing one of its details easily.
 *
 * @param dictionary A dictionary representing the items in a room. Each key is a string and each value is a tuple
 *                   with the following format: (name, color, price)
 * @param tupleIndex An integer representing the index of the detail you want to modify in the tuples. The possible
 *                   options are: 0 for name, 1 for color, and 2 for price.
 * @return The modified dictionary with the desired item detail changed.
 */
fun modifyInteriorDesign(dictionary: MutableMap<String, Triple<String, String, Double>>, tupleIndex: Int): MutableMap<String, Triple<String, String, Double>> {

    // Extracting the item names from the dictionary
    val items = dictionary.keys.toList()

    // Printing the available item options to choose from
    println("Available items to modify: ${items.joinToString()}")

    // Getting the user's selection

    return dictionary
}