/**
 * This function takes a dictionary of athletes as input and searches for a specific athlete by name.
 * It uses a loop to iterate through the dictionary and a break statement to exit the loop when the athlete is found.
 */
fun findAthleteInDict(athletes: Map<String, String>, athleteName: String) {

    for (athlete in athletes.keys) {
        if (athlete == athleteName) {
            println("$athleteName found in the dictionary.")
            return
        }
    }
    println("$athleteName not found in the dictionary.")
}
/**
 * This function takes a dictionary of athletes as input and searches for a specific athlete by name.
 * It uses a loop to iterate through the dictionary and a break statement to exit the loop when the athlete is found.
 */
fun findAthleteInDict(athletes: Map<String, String>, athleteName: String) {
/**
 * This function takes a dictionary of athletes as input and searches for a specific athlete by name.
 * It uses a loop to iterate through the dictionary and a break statement to exit the loop when the athlete is found.
 */
fun findAthleteInDict(athletes: Map<String, String>, athleteName: String) {

    for (athlete in athletes.keys) {
        if (athlete == athleteName) {
            println("$athleteName found in the dictionary.")
            return
        }
    }
    println("$athleteName not found in the dictionary.")
}