KnowledgeBoat Logo

Computer Science

Write following expressions in Python:

(x2x1)2+(y2y1)2\sqrt{(x2 - x1)^2 + (y2 - y1)^2}

Python Data Handling

41 Likes

Answer


math.sqrt((x2 - x1) ** 2 + (y2 - y1) ** 2)

Answered By

25 Likes


Related Questions