Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #_*_coding:cp1251_*_
- from math import sqrt
- Ax=float(input('введите координату Х точки A --> '))
- Ay=float(input('введите координату Y точки A --> '))
- Bx=float(input('введите координату Х точки B --> '))
- By=float(input('введите координату Y точки B --> '))
- d=sqrt((Ax-Bx)**2+(Ay-By)**2)
- print d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement