python 计算两个点之间的距离

 

 

算了,找了半天,就用第一种方法吧

 

 

dis = math.hypot(10,10)

 

计算该点和0,0之间的距离

posted @ 2021-04-01 22:28  bH1pJ  阅读(972)  评论(0编辑  收藏  举报