/**
 * Modify the lyrics of a specific song in a musician's list of songs.
 *
 * @param musician List containing the musician's songs.
 * @param songToModify The title of the song to be modified.
 * @param newLyrics The new lyrics for the song.
 * @return The updated list of musician's songs with the modified lyrics.
 */
fun modifyMusicianSongs(musician: MutableList<String>, songToModify: String, newLyrics: String): MutableList<String> {

    for (i in musician.indices) {
        if (musician[i] == songToModify) {
            musician[i] = newLyrics
        }
    }
    return musician
}
/**
 * Modify the lyrics of a specific song in a musician's list of songs.
 *
 * @param musician List containing the musician's songs.
 * @param songToModify The title of the song to be modified.
 * @param newLyrics The new lyrics for the song.
 * @return The updated list of musician's songs with the modified lyrics.
 */
fun modifyMusicianSongs(musician: MutableList<String>, songToModify: String, newLyrics: String): MutableList<String> {
/**
 * Modify the lyrics of a specific song in a musician's list of songs.
 *
 * @param musician List containing the musician's songs.
 * @param songToModify The title of the song to be modified.
 * @param newLyrics The new lyrics for the song.
 * @return The updated list of musician's songs with the modified lyrics.
 */
fun modifyMusicianSongs(musician: MutableList<String>, songToModify: String, newLyrics: String): MutableList<String> {

    for (i in musician.indices) {
        if (musician[i] == songToModify) {
            musician[i] = newLyrics
        }
    }
    return musician
}