educative.io

Educative

Destructuring Triple in kotlin

fun getFullName() = Triple("a", "b", "c")val (last) = getFullName() println("$last")

Answer should be “c” but course suggest that it is “a”
Please clarify.