Solución
solution.tsTypeScript
import math
def distance_between_points(x1: float, y1: float, x2: float, y2: float) -> float:
# Escribe tu solución aquí
return round(math.hypot((x2 - x1),(y2 - y1)),4)0respuestas
import math
def distance_between_points(x1: float, y1: float, x2: float, y2: float) -> float:
# Escribe tu solución aquí
return round(math.hypot((x2 - x1),(y2 - y1)),4)Aún no hay respuestas
¡Sé el primero en responder!
Recuerda ser amable. Estás comentando la solución de otra persona. Comparte tu perspectiva de forma constructiva y respetuosa.