/**
 * Given a dictionary of veterinarian information, the name of a new veterinarian, and their contact details,
 * this function should add the veterinarian and their details to the dictionary.
 * If the veterinarian already exists in the dictionary, it should return 'Veterinarian already exists!'.
 */
fun addVet(vetInfo: MutableMap<String, String>, vetName: String, contactDetails: String): String {

    return if (!vetInfo.containsKey(vetName)) {
        vetInfo[vetName] = contactDetails
        ""
    } else {
        "Veterinarian already exists!"
    }
}
/**
 * Given a dictionary of veterinarian information, the name of a new veterinarian, and their contact details,
 * this function should add the veterinarian and their details to the dictionary.
 * If the veterinarian already exists in the dictionary, it should return 'Veterinarian already exists!'.
 */
fun addVet(vetInfo: MutableMap<String, String>, vetName: String, contactDetails: String): String {
/**
 * Given a dictionary of veterinarian information, the name of a new veterinarian, and their contact details,
 * this function should add the veterinarian and their details to the dictionary.
 * If the veterinarian already exists in the dictionary, it should return 'Veterinarian already exists!'.
 */
fun addVet(vetInfo: MutableMap<String, String>, vetName: String, contactDetails: String): String {

    return if (!vetInfo.containsKey(vetName)) {
        vetInfo[vetName] = contactDetails
        ""
    } else {
        "Veterinarian already exists!"
    }
}