/**
 * In this exercise, you need to modify the values in a dictionary for a photographer's collection of photos.
 * The photographer has a dictionary where the keys represent different photo names, and the values represent
 * their rating on a scale of 1 to 10. Your task is to increase the rating of all the photos by 1, except for
 * the photos that already have a rating of 10. To accomplish this, you need to iterate over the dictionary
 * and modify the values accordingly.
 *
 * @param photographerPhotos A dictionary representing the photographer's collection of photos.
 * @return The modified dictionary with increased ratings.
 */
fun modifyDictionaryValues(photographerPhotos: MutableMap<String, Int>): MutableMap<String, Int> {

    for ((photo, rating) in photographerPhotos) {
        if (rating == 10) {
            continue  // Skip the photo with a rating of 10
        }
        photographerPhotos[photo] = rating + 1
    }
    return photographerPhotos
}
/**
 * In this exercise, you need to modify the values in a dictionary for a photographer's collection of photos.
 * The photographer has a dictionary where the keys represent different photo names, and the values represent
 * their rating on a scale of 1 to 10. Your task is to increase the rating of all the photos by 1, except for
 * the photos that already have a rating of 10. To accomplish this, you need to iterate over the dictionary
 * and modify the values accordingly.
 *
 * @param photographerPhotos A dictionary representing the photographer's collection of photos.
 * @return The modified dictionary with increased ratings.
 */
fun modifyDictionaryValues(photographerPhotos: MutableMap<String, Int>): MutableMap<String, Int> {
/**
 * In this exercise, you need to modify the values in a dictionary for a photographer's collection of photos.
 * The photographer has a dictionary where the keys represent different photo names, and the values represent
 * their rating on a scale of 1 to 10. Your task is to increase the rating of all the photos by 1, except for
 * the photos that already have a rating of 10. To accomplish this, you need to iterate over the dictionary
 * and modify the values accordingly.
 *
 * @param photographerPhotos A dictionary representing the photographer's collection of photos.
 * @return The modified dictionary with increased ratings.
 */
fun modifyDictionaryValues(photographerPhotos: MutableMap<String, Int>): MutableMap<String, Int> {

    for ((photo, rating) in photographerPhotos) {
        if (rating == 10) {
            continue  // Skip the photo with a rating of 10
        }
        photographerPhotos[photo] = rating + 1
    }
    return photographerPhotos
}