/**
 * This exercise is designed for a photographer who wants to select photos that are not in the selected_photos list.
 *
 * Given a list of all photos and a list of selected photos, write a Kotlin code using the '!' operator to
 * find and return the photos that are not selected.
 *
 * @param photos A list of all photos.
 * @param selectedPhotos A list of selected photos.
 * @return A list of photos that are not selected.
 */
fun notInOperatorExercise(photos: List<String>, selectedPhotos: List<String>): List<String> {

    val notSelectedPhotos = mutableListOf<String>()
    
    // Write your code below this line
    for (photo in photos) {
        if (photo !in selectedPhotos) {
            notSelectedPhotos.add(photo)
        }
    }
    // Write your code above this line
    
    return notSelectedPhotos
}
/**
 * This exercise is designed for a photographer who wants to select photos that are not in the selected_photos list.
 *
 * Given a list of all photos and a list of selected photos, write a Kotlin code using the '!' operator to
 * find and return the photos that are not selected.
 *
 * @param photos A list of all photos.
 * @param selectedPhotos A list of selected photos.
 * @return A list of photos that are not selected.
 */
fun notInOperatorExercise(photos: List<String>, selectedPhotos: List<String>): List<String> {
/**
 * This exercise is designed for a photographer who wants to select photos that are not in the selected_photos list.
 *
 * Given a list of all photos and a list of selected photos, write a Kotlin code using the '!' operator to
 * find and return the photos that are not selected.
 *
 * @param photos A list of all photos.
 * @param selectedPhotos A list of selected photos.
 * @return A list of photos that are not selected.
 */
fun notInOperatorExercise(photos: List<String>, selectedPhotos: List<String>): List<String> {

    val notSelectedPhotos = mutableListOf<String>()
    
    // Write your code below this line
    for (photo in photos) {
        if (photo !in selectedPhotos) {
            notSelectedPhotos.add(photo)
        }
    }
    // Write your code above this line
    
    return notSelectedPhotos
}