VergeoPaw

1015

Sep 17th, 2021
648
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import math
  2. a1,b1 = input().split()
  3. c,d = input().split()
  4. x1 = float(a1)
  5. y1 = float(b1)
  6. x2 = float(c)
  7. y2 = float(d)
  8. distance = math.sqrt((x2-x1)**2 + (y2-y1)**2)
  9. print("%.4f"%distance)
RAW Paste Data