KnowledgeBoat Logo
|

Computer Science

Write following expressions in Python:

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

Python Data Handling

45 Likes

Answer


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

Answered By

26 Likes


Related Questions