/**
 * This exercise aims to test your knowledge of nested for loops and adding elements to a set.
 * You will be given a list of artists and a list of albums. Your task is to create a set of songs
 * by iterating through each artist and album combination, and adding the song to the set.
 * The format of each song should be 'Artist - Album'. Return the set of songs you have created.
 */
fun addSongsToAlbums(artists: List<String>, albums: List<String>): Set<String> {

    val songs = mutableSetOf<String>()

    for (artist in artists) {
        for (album in albums) {
            songs.add("$artist - $album")
        }
    }

    return songs
}
/**
 * This exercise aims to test your knowledge of nested for loops and adding elements to a set.
 * You will be given a list of artists and a list of albums. Your task is to create a set of songs
 * by iterating through each artist and album combination, and adding the song to the set.
 * The format of each song should be 'Artist - Album'. Return the set of songs you have created.
 */
fun addSongsToAlbums(artists: List<String>, albums: List<String>): Set<String> {
/**
 * This exercise aims to test your knowledge of nested for loops and adding elements to a set.
 * You will be given a list of artists and a list of albums. Your task is to create a set of songs
 * by iterating through each artist and album combination, and adding the song to the set.
 * The format of each song should be 'Artist - Album'. Return the set of songs you have created.
 */
fun addSongsToAlbums(artists: List<String>, albums: List<String>): Set<String> {

    val songs = mutableSetOf<String>()

    for (artist in artists) {
        for (album in albums) {
            songs.add("$artist - $album")
        }
    }

    return songs
}