/**
 * This exercise aims to test the knowledge of set comprehension and the 'not equal' operator.
 * The function takes in two lists representing the animals in two different zoos.
 * The task is to find the uncommon animals between the two zoos using set comprehension and return them in a new set.
 */
fun uncommonAnimals(zoo1: List<String>, zoo2: List<String>): Set<String> {

    // Convert the lists to sets
    val setZoo1 = zoo1.toSet()
    val setZoo2 = zoo2.toSet()

    // Find the uncommon animals using set comprehension and the 'not equal' operator
    val uncommon = setZoo1.filter { it !in setZoo2 }.toSet()

    return uncommon
}
/**
 * This exercise aims to test the knowledge of set comprehension and the 'not equal' operator.
 * The function takes in two lists representing the animals in two different zoos.
 * The task is to find the uncommon animals between the two zoos using set comprehension and return them in a new set.
 */
fun uncommonAnimals(zoo1: List<String>, zoo2: List<String>): Set<String> {
/**
 * This exercise aims to test the knowledge of set comprehension and the 'not equal' operator.
 * The function takes in two lists representing the animals in two different zoos.
 * The task is to find the uncommon animals between the two zoos using set comprehension and return them in a new set.
 */
fun uncommonAnimals(zoo1: List<String>, zoo2: List<String>): Set<String> {

    // Convert the lists to sets
    val setZoo1 = zoo1.toSet()
    val setZoo2 = zoo2.toSet()

    // Find the uncommon animals using set comprehension and the 'not equal' operator
    val uncommon = setZoo1.filter { it !in setZoo2 }.toSet()

    return uncommon
}