看一道题:python入门
zb=[]z=input()
while(z!="end"):
x,y=z.split(',')
zb.append([eval(x),eval(y)])
z=input()
for j in range(0,len(zb)):
s=0
for q in zb:
s=s+((zb[j][0]-q[0])**2+(zb[j][1]-q[1])**2)**0.5
if s<mins:
mins=s
j=i
print("最小值为第{}点坐标为({},{})距离之和为{:.2f}".format(i+1,zb[i][0],zb[i][1],mins))