LearnPy Hub
← Tuples & Sets problems
Medium

Distance Between Points

Read two points as x1 y1 and x2 y2 on two lines. Store each as a tuple and print the distance between them with 2 decimals.

Input

Two lines.

Output

The distance.

Sample 1

Input
0 0
3 4
Output
5.00

Sample 2

Input
1 1
1 1
Output
0.00
solution.py
Output appears here
Distance Between Points · Python practice problem · LearnPy Hub