/**
 * This function takes a recipe as a string and returns the list of ingredients within the given range.
 *
 * @param recipe The complete recipe string.
 * @param start The starting point index of the ingredients.
 * @param end The ending point index of the ingredients.
 * @return List of ingredients within the given range.
 */
fun getIngredients(recipe: String, start: Int, end: Int): List<String> {

    val ingredients = recipe.substring(start, end).split(", ")
    return ingredients
}

val recipe = ""
/**
 * This function takes a recipe as a string and returns the list of ingredients within the given range.
 *
 * @param recipe The complete recipe string.
 * @param start The starting point index of the ingredients.
 * @param end The ending point index of the ingredients.
 * @return List of ingredients within the given range.
 */
fun getIngredients(recipe: String, start: Int, end: Int): List<String> {
/**
 * This function takes a recipe as a string and returns the list of ingredients within the given range.
 *
 * @param recipe The complete recipe string.
 * @param start The starting point index of the ingredients.
 * @param end The ending point index of the ingredients.
 * @return List of ingredients within the given range.
 */
fun getIngredients(recipe: String, start: Int, end: Int): List<String> {

    val ingredients = recipe.substring(start, end).split(", ")
    return ingredients
}

val recipe = ""