/**
 * This function takes two sets: 'artists' and 'new_artists'.
 * It iterates through the 'artists' set and adds each element to the 'new_artists' set.
 * After iterating through all the elements, it returns the updated 'new_artists' set.
 *
 * Complete the code to solve the exercise.
 */
fun iterateAndAddElements(artists: Set<String>, newArtists: MutableSet<String>): MutableSet<String> {

    // Iterate through each artist in the 'artists' set
    for (artist in artists) {
        // Add the artist to the 'new_artists' set
        newArtists.add(artist)
    }

    // Return the updated 'new_artists' set
    return newArtists
}
/**
 * This function takes two sets: 'artists' and 'new_artists'.
 * It iterates through the 'artists' set and adds each element to the 'new_artists' set.
 * After iterating through all the elements, it returns the updated 'new_artists' set.
 *
 * Complete the code to solve the exercise.
 */
fun iterateAndAddElements(artists: Set<String>, newArtists: MutableSet<String>): MutableSet<String> {
/**
 * This function takes two sets: 'artists' and 'new_artists'.
 * It iterates through the 'artists' set and adds each element to the 'new_artists' set.
 * After iterating through all the elements, it returns the updated 'new_artists' set.
 *
 * Complete the code to solve the exercise.
 */
fun iterateAndAddElements(artists: Set<String>, newArtists: MutableSet<String>): MutableSet<String> {

    // Iterate through each artist in the 'artists' set
    for (artist in artists) {
        // Add the artist to the 'new_artists' set
        newArtists.add(artist)
    }

    // Return the updated 'new_artists' set
    return newArtists
}