/**
 * This function takes a list of dishes and slices them based on the given start and end index.
 *
 * @param dishes A list of dishes.
 * @param startIndex The index to start the slicing (inclusive).
 * @param endIndex The index to end the slicing (exclusive).
 * @return The sliced dishes.
 */
fun sliceAndPrepareDish(dishes: List<String>, startIndex: Int, endIndex: Int): List<String> {

    val slicedDishes = dishes.subList(startIndex, endIndex)
    return slicedDishes
}
/**
 * This function takes a list of dishes and slices them based on the given start and end index.
 *
 * @param dishes A list of dishes.
 * @param startIndex The index to start the slicing (inclusive).
 * @param endIndex The index to end the slicing (exclusive).
 * @return The sliced dishes.
 */
fun sliceAndPrepareDish(dishes: List<String>, startIndex: Int, endIndex: Int): List<String> {
/**
 * This function takes a list of dishes and slices them based on the given start and end index.
 *
 * @param dishes A list of dishes.
 * @param startIndex The index to start the slicing (inclusive).
 * @param endIndex The index to end the slicing (exclusive).
 * @return The sliced dishes.
 */
fun sliceAndPrepareDish(dishes: List<String>, startIndex: Int, endIndex: Int): List<String> {

    val slicedDishes = dishes.subList(startIndex, endIndex)
    return slicedDishes
}