Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import math
- x1, x2 =input().split()
- y1, y2 =input().split()
- distance = (float(x1) - float(x2) ** 2) + (float(y1) - float(y2) ** 2)
- print("{:.4f}".format(math.sqrt(distance))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement