/**
 * Given a list of artists, this function prints their names and genres.
 */
fun printArtistInfo(artists: List<Map<String, String>>) {

    for (artist in artists) {
        println("Name: ${artist["name"]}")
        println("Genre: ${artist["genre"]}")
        println("--------------------")
    }
}
/**
 * Given a list of artists, this function prints their names and genres.
 */
fun printArtistInfo(artists: List<Map<String, String>>) {
/**
 * Given a list of artists, this function prints their names and genres.
 */
fun printArtistInfo(artists: List<Map<String, String>>) {

    for (artist in artists) {
        println("Name: ${artist["name"]}")
        println("Genre: ${artist["genre"]}")
        println("--------------------")
    }
}