/**
 * This function takes two lists: musicianNames and instrumentTypes,
 * and prints the name of each musician along with their respective instruments.
 *
 * @param musicianNames List<String> A list of musician names.
 * @param instrumentTypes List<String> A list of instrument types.
 */
fun printMusicianInstruments(musicianNames: List<String>, instrumentTypes: List<String>) {

    for (musician in musicianNames) {
        for (instrument in instrumentTypes) {
            println("$musician plays $instrument.")
        }
    }
}
/**
 * This function takes two lists: musicianNames and instrumentTypes,
 * and prints the name of each musician along with their respective instruments.
 *
 * @param musicianNames List<String> A list of musician names.
 * @param instrumentTypes List<String> A list of instrument types.
 */
fun printMusicianInstruments(musicianNames: List<String>, instrumentTypes: List<String>) {
/**
 * This function takes two lists: musicianNames and instrumentTypes,
 * and prints the name of each musician along with their respective instruments.
 *
 * @param musicianNames List<String> A list of musician names.
 * @param instrumentTypes List<String> A list of instrument types.
 */
fun printMusicianInstruments(musicianNames: List<String>, instrumentTypes: List<String>) {

    for (musician in musicianNames) {
        for (instrument in instrumentTypes) {
            println("$musician plays $instrument.")
        }
    }
}