put"The midpoint of point one and point two is ", (x1+x2)/2 ,",", (y1+y2)/2, "." put "The distance between point 1 and point 2 is ", sqrt((x2-x1)**2+(y2-y1)**2), "."