/**
 * This exercise focuses on modifying elements of a dictionary using slicing and looping through its elements.
 *
 * Given a dictionary 'dictionary', modify the values of the elements in the dictionary by appending the string " Modified" to each value.
 *
 * @param dictionary A dictionary with string keys and string values.
 * @return The modified dictionary with modified values.
 */
fun modifyDict(dictionary: MutableMap<String, String>): MutableMap<String, String> {

    for ((key, value) in dictionary) {
        dictionary[key] = "$value Modified"
    }
    return dictionary
}
/**
 * This exercise focuses on modifying elements of a dictionary using slicing and looping through its elements.
 *
 * Given a dictionary 'dictionary', modify the values of the elements in the dictionary by appending the string " Modified" to each value.
 *
 * @param dictionary A dictionary with string keys and string values.
 * @return The modified dictionary with modified values.
 */
fun modifyDict(dictionary: MutableMap<String, String>): MutableMap<String, String> {
/**
 * This exercise focuses on modifying elements of a dictionary using slicing and looping through its elements.
 *
 * Given a dictionary 'dictionary', modify the values of the elements in the dictionary by appending the string " Modified" to each value.
 *
 * @param dictionary A dictionary with string keys and string values.
 * @return The modified dictionary with modified values.
 */
fun modifyDict(dictionary: MutableMap<String, String>): MutableMap<String, String> {

    for ((key, value) in dictionary) {
        dictionary[key] = "$value Modified"
    }
    return dictionary
}