/**
 * In this exercise, you need to create a tuple from a given string and then unpack the tuple.
 *
 * @param string A string containing comma-separated values
 * @return A tuple containing the unpacked values from the string
 *
 * Instructions:
 * - Create a tuple by splitting the given string using the comma as a delimiter
 * - Assign each value of the tuple to separate variables
 * - Return the variables as a tuple
 *
 * Example:
 * Given the string "apple, orange, banana", the expected output is the tuple ('apple', 'orange', 'banana')
 */
fun createTupleFromStringAndUnpack(string: String): Triple<String, String, String> {

    // Splitting the string into a list of values
    val values = string.split(",")

    // Unpacking the values into separate variables
    val (var1, var2, var3) = values

    // Returning the variables as a tuple
    return Triple(var1, var2, var3)
}
/**
 * In this exercise, you need to create a tuple from a given string and then unpack the tuple.
 *
 * @param string A string containing comma-separated values
 * @return A tuple containing the unpacked values from the string
 *
 * Instructions:
 * - Create a tuple by splitting the given string using the comma as a delimiter
 * - Assign each value of the tuple to separate variables
 * - Return the variables as a tuple
 *
 * Example:
 * Given the string "apple, orange, banana", the expected output is the tuple ('apple', 'orange', 'banana')
 */
fun createTupleFromStringAndUnpack(string: String): Triple<String, String, String> {
/**
 * In this exercise, you need to create a tuple from a given string and then unpack the tuple.
 *
 * @param string A string containing comma-separated values
 * @return A tuple containing the unpacked values from the string
 *
 * Instructions:
 * - Create a tuple by splitting the given string using the comma as a delimiter
 * - Assign each value of the tuple to separate variables
 * - Return the variables as a tuple
 *
 * Example:
 * Given the string "apple, orange, banana", the expected output is the tuple ('apple', 'orange', 'banana')
 */
fun createTupleFromStringAndUnpack(string: String): Triple<String, String, String> {

    // Splitting the string into a list of values
    val values = string.split(",")

    // Unpacking the values into separate variables
    val (var1, var2, var3) = values

    // Returning the variables as a tuple
    return Triple(var1, var2, var3)
}