(10 pts)
Implement a Python program that calculates the distance between two points. Name your program
pythagoras.py. Your program should:
-
Prompt the user to enter the x and y coordinates for two points.
-
Use the math module to calculate the distance between the points. (If you don't remember how to import the math library, see the transcript from Session 1.) You'll find the
sqrt
function helpful.
-
Display the distance between the points, with a descriptive label.