/**
 * This recipe is for a chef who wants to concatenate a list of ingredients with their respective measure unit.
 *
 * @param ingredients The list of ingredients to be concatenated.
 * @param measureUnit The list of measure units corresponding to each ingredient.
 * @return The concatenated string of the ingredients and their measure units.
 */
fun chefRecipe(ingredients: List<String>, measureUnit: List<String>): String {

    // Initialize an empty string to store the final dish
    var finalDish = ""
    
    // Iterate over each ingredient and measure unit using the indices of the lists
    for (i in ingredients.indices) {
        // Concatenate the ingredient and measure unit together using the '+' operator
        finalDish += if (i != ingredients.size - 1) {
            "${ingredients[i]} ${measureUnit[i]}, "
        } else {
            "${ingredients[i]} ${measureUnit[i]}"
        }
    }
    
    return finalDish
}
/**
 * This recipe is for a chef who wants to concatenate a list of ingredients with their respective measure unit.
 *
 * @param ingredients The list of ingredients to be concatenated.
 * @param measureUnit The list of measure units corresponding to each ingredient.
 * @return The concatenated string of the ingredients and their measure units.
 */
fun chefRecipe(ingredients: List<String>, measureUnit: List<String>): String {
/**
 * This recipe is for a chef who wants to concatenate a list of ingredients with their respective measure unit.
 *
 * @param ingredients The list of ingredients to be concatenated.
 * @param measureUnit The list of measure units corresponding to each ingredient.
 * @return The concatenated string of the ingredients and their measure units.
 */
fun chefRecipe(ingredients: List<String>, measureUnit: List<String>): String {

    // Initialize an empty string to store the final dish
    var finalDish = ""
    
    // Iterate over each ingredient and measure unit using the indices of the lists
    for (i in ingredients.indices) {
        // Concatenate the ingredient and measure unit together using the '+' operator
        finalDish += if (i != ingredients.size - 1) {
            "${ingredients[i]} ${measureUnit[i]}, "
        } else {
            "${ingredients[i]} ${measureUnit[i]}"
        }
    }
    
    return finalDish
}