/**
 * You have been given a tuple containing the x, y, and z coordinates of a specific point in 3-dimensional space.
 * Your task is to extract the y-coordinate and access the second element of that coordinate to retrieve the precise value.
 *
 * @param data A tuple containing the x, y, and z coordinates
 * @return The y-coordinate value
 *
 * Example:
 * Given data = ((-2.5, 1.5, 3), (4, -6.7, 2), (0.5, 2, 7.8))
 * The expected output would be -6.7.
 */
fun getCoordinates(data: List<Triple<Double, Double, Double>>): Double {

    val yCoordinate = data[1].second
    return yCoordinate
}
/**
 * You have been given a tuple containing the x, y, and z coordinates of a specific point in 3-dimensional space.
 * Your task is to extract the y-coordinate and access the second element of that coordinate to retrieve the precise value.
 *
 * @param data A tuple containing the x, y, and z coordinates
 * @return The y-coordinate value
 *
 * Example:
 * Given data = ((-2.5, 1.5, 3), (4, -6.7, 2), (0.5, 2, 7.8))
 * The expected output would be -6.7.
 */
fun getCoordinates(data: List<Triple<Double, Double, Double>>): Double {
/**
 * You have been given a tuple containing the x, y, and z coordinates of a specific point in 3-dimensional space.
 * Your task is to extract the y-coordinate and access the second element of that coordinate to retrieve the precise value.
 *
 * @param data A tuple containing the x, y, and z coordinates
 * @return The y-coordinate value
 *
 * Example:
 * Given data = ((-2.5, 1.5, 3), (4, -6.7, 2), (0.5, 2, 7.8))
 * The expected output would be -6.7.
 */
fun getCoordinates(data: List<Triple<Double, Double, Double>>): Double {

    val yCoordinate = data[1].second
    return yCoordinate
}