/**
 * This function takes two strings as input and evaluates whether both conditions are met.
 *
 * @param concatenation A string.
 * @param condition A string.
 * @return The result of the evaluation.
 */
fun stringAndOperator(concatenation: String, condition: String): String {

    // Concatenating the input strings and assigning it to a variable
    val result = concatenation + condition

    // Checking if the result satisfies both conditions
    return if (result == "Firefighter" && result.reversed() == "retirihceF") {
        "Congratulations! You have successfully completed the exercise."
    } else {
        "You have not solved the exercise correctly yet. Try again!"
    }
}
/**
 * This function takes two strings as input and evaluates whether both conditions are met.
 *
 * @param concatenation A string.
 * @param condition A string.
 * @return The result of the evaluation.
 */
fun stringAndOperator(concatenation: String, condition: String): String {
/**
 * This function takes two strings as input and evaluates whether both conditions are met.
 *
 * @param concatenation A string.
 * @param condition A string.
 * @return The result of the evaluation.
 */
fun stringAndOperator(concatenation: String, condition: String): String {

    // Concatenating the input strings and assigning it to a variable
    val result = concatenation + condition

    // Checking if the result satisfies both conditions
    return if (result == "Firefighter" && result.reversed() == "retirihceF") {
        "Congratulations! You have successfully completed the exercise."
    } else {
        "You have not solved the exercise correctly yet. Try again!"
    }
}