/**
 * Given a dictionary containing photographer ratings, calculate and return the average rating.
 *
 * @param photographerRatings A dictionary where the keys are photographer names (strings)
 * and values are their corresponding ratings (float)
 * @return The average rating of all the photographers
 */
fun calculateAverage(photographerRatings: Map<String, Float>): Float {

    val averageRating = photographerRatings.values.sum() / photographerRatings.size
    return averageRating
}
/**
 * Given a dictionary containing photographer ratings, calculate and return the average rating.
 *
 * @param photographerRatings A dictionary where the keys are photographer names (strings)
 * and values are their corresponding ratings (float)
 * @return The average rating of all the photographers
 */
fun calculateAverage(photographerRatings: Map<String, Float>): Float {
/**
 * Given a dictionary containing photographer ratings, calculate and return the average rating.
 *
 * @param photographerRatings A dictionary where the keys are photographer names (strings)
 * and values are their corresponding ratings (float)
 * @return The average rating of all the photographers
 */
fun calculateAverage(photographerRatings: Map<String, Float>): Float {

    val averageRating = photographerRatings.values.sum() / photographerRatings.size
    return averageRating
}