创建一个函数来找出两点之间的距离。
"""
创建一个函数来找出两点之间的距离
"""

import math 

def distanceBetweenPoints(x1,y1,x2,y2): 
    
    dist = math.sqrt((x2 - x1)**2 + (y2 - y1)**2) 
      
    return dist 
  
# Driver Code 
x1,y1 = (3,2) 
x2,y2 = (8,10) 

print("两点之间的距离:",distanceBetweenPoints(x1,y1,x2,y2))