/**
 * This function takes a list of animals and a list of new animals to be added.
 * It appends the new animals to the original animal list and returns the updated list.
 *
 * @param animalsList A list of current animals.
 * @param newAnimals A list of new animals to be added.
 * @return The updated list of animals with the new animals added.
 */
fun addAnimals(animalsList: MutableList<String>, newAnimals: List<String>): List<String> {

    animalsList.addAll(newAnimals)
    return animalsList
}
/**
 * This function takes a list of animals and a list of new animals to be added.
 * It appends the new animals to the original animal list and returns the updated list.
 *
 * @param animalsList A list of current animals.
 * @param newAnimals A list of new animals to be added.
 * @return The updated list of animals with the new animals added.
 */
fun addAnimals(animalsList: MutableList<String>, newAnimals: List<String>): List<String> {
/**
 * This function takes a list of animals and a list of new animals to be added.
 * It appends the new animals to the original animal list and returns the updated list.
 *
 * @param animalsList A list of current animals.
 * @param newAnimals A list of new animals to be added.
 * @return The updated list of animals with the new animals added.
 */
fun addAnimals(animalsList: MutableList<String>, newAnimals: List<String>): List<String> {

    animalsList.addAll(newAnimals)
    return animalsList
}