สถานะการส่งล่าสุด: -

SOS11: Distance

Distance

Given a coordinate of 2 point x1, y1, x2, y2 Write a program to solve of the distance in 2 decimal digit.

hint: math.sqrt

Example Output

Enter first point: 2,5
Enter second point: 1,3 
The distance between 2 point is 2.24 Units


import math