/**
 * This function receives a list of photos taken by a photographer, 
 * as well as the start and end indices that represent the range of photos the photographer wants to select.
 * 
 * Your task is to implement the getPhotos function that will return a sublist of the original list of photos,
 * containing the photos within the given range (inclusive).
 * 
 * Example:
 * photos = listOf("photo1.jpg", "photo2.jpg", "photo3.jpg", "photo4.jpg", "photo5.jpg", "photo6.jpg")
 * getPhotos(photos, 1, 4)
 * Output: ["photo2.jpg", "photo3.jpg", "photo4.jpg", "photo5.jpg"]
 */
fun getPhotos(photos: List<String>, start: Int, end: Int): List<String> {

    return photos.subList(start, end + 1)
}
/**
 * This function receives a list of photos taken by a photographer, 
 * as well as the start and end indices that represent the range of photos the photographer wants to select.
 * 
 * Your task is to implement the getPhotos function that will return a sublist of the original list of photos,
 * containing the photos within the given range (inclusive).
 * 
 * Example:
 * photos = listOf("photo1.jpg", "photo2.jpg", "photo3.jpg", "photo4.jpg", "photo5.jpg", "photo6.jpg")
 * getPhotos(photos, 1, 4)
 * Output: ["photo2.jpg", "photo3.jpg", "photo4.jpg", "photo5.jpg"]
 */
fun getPhotos(photos: List<String>, start: Int, end: Int): List<String> {
/**
 * This function receives a list of photos taken by a photographer, 
 * as well as the start and end indices that represent the range of photos the photographer wants to select.
 * 
 * Your task is to implement the getPhotos function that will return a sublist of the original list of photos,
 * containing the photos within the given range (inclusive).
 * 
 * Example:
 * photos = listOf("photo1.jpg", "photo2.jpg", "photo3.jpg", "photo4.jpg", "photo5.jpg", "photo6.jpg")
 * getPhotos(photos, 1, 4)
 * Output: ["photo2.jpg", "photo3.jpg", "photo4.jpg", "photo5.jpg"]
 */
fun getPhotos(photos: List<String>, start: Int, end: Int): List<String> {

    return photos.subList(start, end + 1)
}