/**
 * This function takes the name of a photographer and the number of photos to be taken. It creates a photo album
 * for the photographer and returns a list containing the album.
 *
 * @param photographer: String representing the name of the photographer
 * @param numPhotos: Int representing the number of photos to be taken
 *
 * @return List<String>: a list representing the photo album
 *
 * Example:
 * createPhotoAlbum("John", 5) => ['Photo 1 by John', 'Photo 2 by John', 'Photo 3 by John', 'Photo 4 by John', 'Photo 5 by John']
 */
fun createPhotoAlbum(photographer: String, numPhotos: Int): List<String> {

    return (1..numPhotos).map { "Photo $it by $photographer" }
}
/**
 * This function takes the name of a photographer and the number of photos to be taken. It creates a photo album
 * for the photographer and returns a list containing the album.
 *
 * @param photographer: String representing the name of the photographer
 * @param numPhotos: Int representing the number of photos to be taken
 *
 * @return List<String>: a list representing the photo album
 *
 * Example:
 * createPhotoAlbum("John", 5) => ['Photo 1 by John', 'Photo 2 by John', 'Photo 3 by John', 'Photo 4 by John', 'Photo 5 by John']
 */
fun createPhotoAlbum(photographer: String, numPhotos: Int): List<String> {
/**
 * This function takes the name of a photographer and the number of photos to be taken. It creates a photo album
 * for the photographer and returns a list containing the album.
 *
 * @param photographer: String representing the name of the photographer
 * @param numPhotos: Int representing the number of photos to be taken
 *
 * @return List<String>: a list representing the photo album
 *
 * Example:
 * createPhotoAlbum("John", 5) => ['Photo 1 by John', 'Photo 2 by John', 'Photo 3 by John', 'Photo 4 by John', 'Photo 5 by John']
 */
fun createPhotoAlbum(photographer: String, numPhotos: Int): List<String> {

    return (1..numPhotos).map { "Photo $it by $photographer" }
}