Solución
solution.tsTypeScript
def sum_coordinates(points: list[list[int | float]]) -> int | float:
# Suma todas las coordenadas usando desempaquetado en el for loop
total = 0
for x, y, z in points:
total += x + y + z
return total0respuestas