/**
 * This function takes a dictionary containing information about a musician's instruments
 * and modifies the values of the instruments by adding 's' to each instrument name.
 *
 * @param musicianDict A dictionary with musician's instruments as keys and their values as instrument names.
 * @return A modified dictionary with instrument names modified by adding 's' to each name.
 */
fun modifyMusicianInstruments(musicianDict: Map<String, String>): Map<String, String> {

    val modifiedDict = mutableMapOf<String, String>()

    for ((instrument, name) in musicianDict) {
        var modifiedInstrument = ""
        for (char in instrument) {
            // Insert your code here to iterate over each character of instrument string and modify it.
            // Example: modifiedInstrument += char + 's'
            // This line will add 's' after each character of the instrument string.
        }

        // Insert your code here to add the modified instrument as key and original value as value to the modifiedDict.
        // Example: modifiedDict[modifiedInstrument] = name
        // This line will add the modifiedInstrument as key and original value as value to the modifiedDict.
    }

    return modifiedDict
}
/**
 * This function takes a dictionary containing information about a musician's instruments
 * and modifies the values of the instruments by adding 's' to each instrument name.
 *
 * @param musicianDict A dictionary with musician's instruments as keys and their values as instrument names.
 * @return A modified dictionary with instrument names modified by adding 's' to each name.
 */
fun modifyMusicianInstruments(musicianDict: Map<String, String>): Map<String, String> {
/**
 * This function takes a dictionary containing information about a musician's instruments
 * and modifies the values of the instruments by adding 's' to each instrument name.
 *
 * @param musicianDict A dictionary with musician's instruments as keys and their values as instrument names.
 * @return A modified dictionary with instrument names modified by adding 's' to each name.
 */
fun modifyMusicianInstruments(musicianDict: Map<String, String>): Map<String, String> {

    val modifiedDict = mutableMapOf<String, String>()

    for ((instrument, name) in musicianDict) {
        var modifiedInstrument = ""
        for (char in instrument) {
            // Insert your code here to iterate over each character of instrument string and modify it.
            // Example: modifiedInstrument += char + 's'
            // This line will add 's' after each character of the instrument string.
        }

        // Insert your code here to add the modified instrument as key and original value as value to the modifiedDict.
        // Example: modifiedDict[modifiedInstrument] = name
        // This line will add the modifiedInstrument as key and original value as value to the modifiedDict.
    }

    return modifiedDict
}