/**
 * This function takes two lists as arguments: animalList and zooList.
 * It returns a new list containing the animals which are present in the animalList but not in the zooList.
 *
 * Your task is to complete the code by implementing the missing part using the 'continue' statement and 'not in' operator.
 */
fun listAnimals(animalList: List<String>, zooList: List<String>): List<String> {

    val result = mutableListOf<String>()

    for (animal in animalList) {
        if (animal in zooList) {
            continue
        }
        result.add(animal)
    }

    return result
}
/**
 * This function takes two lists as arguments: animalList and zooList.
 * It returns a new list containing the animals which are present in the animalList but not in the zooList.
 *
 * Your task is to complete the code by implementing the missing part using the 'continue' statement and 'not in' operator.
 */
fun listAnimals(animalList: List<String>, zooList: List<String>): List<String> {
/**
 * This function takes two lists as arguments: animalList and zooList.
 * It returns a new list containing the animals which are present in the animalList but not in the zooList.
 *
 * Your task is to complete the code by implementing the missing part using the 'continue' statement and 'not in' operator.
 */
fun listAnimals(animalList: List<String>, zooList: List<String>): List<String> {

    val result = mutableListOf<String>()

    for (animal in animalList) {
        if (animal in zooList) {
            continue
        }
        result.add(animal)
    }

    return result
}