python程序设计:基础1习题

1.输入平面上两个点,计算两点的距离spa import math x1,y1=input('please the start point x1,y1:') x2,y2=input('please the start point x2,y2:') distance=math.sqrt((x1-x2)**2+(y1-y2)**2) print'distance=',distance input pl
相关文章
相关标签/搜索