/**
 * This function takes a dictionary of students and their exercise outcomes and calculates the average exercise
 * completion rate.
 * @param studentsExercises A dictionary containing the names of students as keys, and their exercise completion status as values.
 * @return The average exercise completion rate.
 */
fun calculateAverageExerciseCompletion(studentsExercises: Map<String, Int>): Float {

    val totalStudents = studentsExercises.size
    val totalExercisesCompleted = studentsExercises.values.sum()

    return totalExercisesCompleted.toFloat() / totalStudents
}
/**
 * This function takes a dictionary of students and their exercise outcomes and calculates the average exercise
 * completion rate.
 * @param studentsExercises A dictionary containing the names of students as keys, and their exercise completion status as values.
 * @return The average exercise completion rate.
 */
fun calculateAverageExerciseCompletion(studentsExercises: Map<String, Int>): Float {
/**
 * This function takes a dictionary of students and their exercise outcomes and calculates the average exercise
 * completion rate.
 * @param studentsExercises A dictionary containing the names of students as keys, and their exercise completion status as values.
 * @return The average exercise completion rate.
 */
fun calculateAverageExerciseCompletion(studentsExercises: Map<String, Int>): Float {

    val totalStudents = studentsExercises.size
    val totalExercisesCompleted = studentsExercises.values.sum()

    return totalExercisesCompleted.toFloat() / totalStudents
}