/**
 * Given a list of zoo species and an index, removes the species at that index.
 *
 * @param zooSpecies List<String> A list of strings representing the species in the zoo.
 * @param index Int The index at which the species needs to be removed.
 * @return List<String> The updated list after removing the species at the given index.
 */
fun removeSpecies(zooSpecies: List<String>, index: Int): List<String> {

    // Create a mutable list to manipulate the original list
    val speciesList = zooSpecies.toMutableList()

    // Remove the species at the given index
    speciesList[index] = ""

    return speciesList
}
/**
 * Given a list of zoo species and an index, removes the species at that index.
 *
 * @param zooSpecies List<String> A list of strings representing the species in the zoo.
 * @param index Int The index at which the species needs to be removed.
 * @return List<String> The updated list after removing the species at the given index.
 */
fun removeSpecies(zooSpecies: List<String>, index: Int): List<String> {
/**
 * Given a list of zoo species and an index, removes the species at that index.
 *
 * @param zooSpecies List<String> A list of strings representing the species in the zoo.
 * @param index Int The index at which the species needs to be removed.
 * @return List<String> The updated list after removing the species at the given index.
 */
fun removeSpecies(zooSpecies: List<String>, index: Int): List<String> {

    // Create a mutable list to manipulate the original list
    val speciesList = zooSpecies.toMutableList()

    // Remove the species at the given index
    speciesList[index] = ""

    return speciesList
}