Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x1, y1 = [float(i) for i in input().split()]
- x2, y2 = [float(i) for i in input().split()]
- distance = ((x2 - x1) ** 2 + (y2 - y1) ** 2) ** 0.5
- print(f'{distance :.3f}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement