from math import * def distance(xA,yA,xB,yB): return sqrt((xB-xA)**2+(yB-yA)**2) print(distance(2,3,5,7))