/**
 * Given the name of a veterinarian and the number of days, create a schedule for appointments.
 *
 * @param vetName The name of the veterinarian.
 * @param numDays The number of days for which the schedule needs to be created.
 * @return A list of pairs representing the appointments in the schedule.
 *
 * Example:
 * createSchedule("Dr. Smith", 5) -> [("Dr. Smith", "Day 1"), ("Dr. Smith", "Day 2"), ("Dr. Smith", "Day 3"),
 *                                    ("Dr. Smith", "Day 4"), ("Dr. Smith", "Day 5")]
 */
fun createSchedule(vetName: String, numDays: Int): List<Pair<String, String>> {

    val schedule = mutableListOf<Pair<String, String>>()
    var day = 1

    while (true) {
        // Exit the while loop once the desired number of days is reached
        if (day > numDays) {
            break
        }

        // Create a pair for each appointment and add it to the schedule
        val appointment = Pair(vetName, "Day $day")
        schedule.add(appointment)

        // Increment the day counter
        day++
    }

    return schedule
}
/**
 * Given the name of a veterinarian and the number of days, create a schedule for appointments.
 *
 * @param vetName The name of the veterinarian.
 * @param numDays The number of days for which the schedule needs to be created.
 * @return A list of pairs representing the appointments in the schedule.
 *
 * Example:
 * createSchedule("Dr. Smith", 5) -> [("Dr. Smith", "Day 1"), ("Dr. Smith", "Day 2"), ("Dr. Smith", "Day 3"),
 *                                    ("Dr. Smith", "Day 4"), ("Dr. Smith", "Day 5")]
 */
fun createSchedule(vetName: String, numDays: Int): List<Pair<String, String>> {
/**
 * Given the name of a veterinarian and the number of days, create a schedule for appointments.
 *
 * @param vetName The name of the veterinarian.
 * @param numDays The number of days for which the schedule needs to be created.
 * @return A list of pairs representing the appointments in the schedule.
 *
 * Example:
 * createSchedule("Dr. Smith", 5) -> [("Dr. Smith", "Day 1"), ("Dr. Smith", "Day 2"), ("Dr. Smith", "Day 3"),
 *                                    ("Dr. Smith", "Day 4"), ("Dr. Smith", "Day 5")]
 */
fun createSchedule(vetName: String, numDays: Int): List<Pair<String, String>> {

    val schedule = mutableListOf<Pair<String, String>>()
    var day = 1

    while (true) {
        // Exit the while loop once the desired number of days is reached
        if (day > numDays) {
            break
        }

        // Create a pair for each appointment and add it to the schedule
        val appointment = Pair(vetName, "Day $day")
        schedule.add(appointment)

        // Increment the day counter
        day++
    }

    return schedule
}