# coding:utf-8 class point: def __init__(self,x,y,name): self.x = x self.y = y self.name = name '''两点距离公式''' def distance(self,p2): self.d=((self.x-p2 Read More
posted @ 2022-05-20 14:57 sriver_dl Views(520) Comments(0) Diggs(0) Edit