All pastes #163338 Raw Edit

chris

public text v1 · immutable
·published 2006-09-07 13:02 UTC
rendered paste body
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), "."