/**
 * The Farmer wants to concatenate all the fruits in his basket into a single string,
 * and then compare it with the vegetable he has in his garden.
 * He needs your help to complete the code!
 *
 * @param fruits A list of strings representing different fruits.
 * @param vegetable A string representing a vegetable.
 * @return True if the concatenated string of fruits is not equal to the vegetable, False otherwise.
 */
fun concatenateAndCheck(fruits: List<String>, vegetable: String): Boolean {

    // Concatenate all the fruits into a single string
    var concatenatedFruits = ""
    for (fruit in fruits) {
        // Your code here:
        concatenatedFruits += fruit
    }

    // Check if the concatenated string of fruits is not equal to the vegetable
    // Your code here:
    return concatenatedFruits != vegetable
}
/**
 * The Farmer wants to concatenate all the fruits in his basket into a single string,
 * and then compare it with the vegetable he has in his garden.
 * He needs your help to complete the code!
 *
 * @param fruits A list of strings representing different fruits.
 * @param vegetable A string representing a vegetable.
 * @return True if the concatenated string of fruits is not equal to the vegetable, False otherwise.
 */
fun concatenateAndCheck(fruits: List<String>, vegetable: String): Boolean {
/**
 * The Farmer wants to concatenate all the fruits in his basket into a single string,
 * and then compare it with the vegetable he has in his garden.
 * He needs your help to complete the code!
 *
 * @param fruits A list of strings representing different fruits.
 * @param vegetable A string representing a vegetable.
 * @return True if the concatenated string of fruits is not equal to the vegetable, False otherwise.
 */
fun concatenateAndCheck(fruits: List<String>, vegetable: String): Boolean {

    // Concatenate all the fruits into a single string
    var concatenatedFruits = ""
    for (fruit in fruits) {
        // Your code here:
        concatenatedFruits += fruit
    }

    // Check if the concatenated string of fruits is not equal to the vegetable
    // Your code here:
    return concatenatedFruits != vegetable
}