Here is the code to test your circle:

# Create two points p and q p = Point(3,4) q = Point(-1,-1) # Create a circle at (2,3) with radius 5 mycircle = Circle(Point(2,3), 5) # Test the methods print "Coordinates of point p: " + p.description() print "Coordinates of point p: " + q.description() print "" print "Distance from p to the origin: " + str(p.distanceFromOrigin()) print "Distance from p to the origin: " + str(q.distanceFromOrigin()) print "" print "Distance from p to q: " + str(p.distanceFromPoint(q)) print "" print "Slope of line from origin to p" + str(p.slopeFromOrigin()) print "Slope of line from origin to q" + str(q.slopeFromOrigin()) # Circle test print mycircle.description() print "The diameter is " + str(mycircle.diameter()) print "The circumference is " + str(mycircle.circumference()) print "The area is " + str(mycircle.area())

Your output should look like this:

Coordinates of point p: x = 3, y = 4 Coordinates of point p: x = -1, y = -1 Distance from p to the origin: 5.0 Distance from p to the origin: 1.41421356237 Distance from p to q: 6.40312423743 Slope of line from origin to p: 1.33333333333 Slope of line from origin to q: 1.0 This is a circle with center (2, 3) and radius 5. The diameter is 10.0 The circumference is 31.4159265359 The area is 78.5398163397 Press any key to continue . . .

When you get your code working , please use **this submission link** to turn in your work.