/**
 * This function takes a list of pet names and schedules neutering for each pet by appending '_neuter' to their names.
 *
 * @param veterinarian The veterinarian's name.
 * @param pets A list of pet names.
 * @return A list of modified pet names with the neutering schedule appended.
 */
fun scheduleNeutering(veterinarian: String, pets: List<String>): List<String> {

    val neuteredPets = mutableListOf<String>()  // Empty list to store neutered pet names

    for (pet in pets) {
        neuteredPets.add(pet + "_neuter")
    }

    return neuteredPets
}
/**
 * This function takes a list of pet names and schedules neutering for each pet by appending '_neuter' to their names.
 *
 * @param veterinarian The veterinarian's name.
 * @param pets A list of pet names.
 * @return A list of modified pet names with the neutering schedule appended.
 */
fun scheduleNeutering(veterinarian: String, pets: List<String>): List<String> {
/**
 * This function takes a list of pet names and schedules neutering for each pet by appending '_neuter' to their names.
 *
 * @param veterinarian The veterinarian's name.
 * @param pets A list of pet names.
 * @return A list of modified pet names with the neutering schedule appended.
 */
fun scheduleNeutering(veterinarian: String, pets: List<String>): List<String> {

    val neuteredPets = mutableListOf<String>()  // Empty list to store neutered pet names

    for (pet in pets) {
        neuteredPets.add(pet + "_neuter")
    }

    return neuteredPets
}