Question: Check Show answer Feedback? CHALLENE 28.1: Coordinate geometry ACTIVITY Assign point.dist with the distance between point (x1,y1) and point (x2, y2). The calculation is: Distance-

Check Show answer Feedback? CHALLENE 28.1: Coordinate geometry ACTIVITY Assign point.dist with the distance between point (x1,y1) and point (x2, y2). The calculation is: Distance- SquareRootof( (x2 x1)+ (2-y1)2) Sample output for the given program Points distance: 3.0 1 import math 2 3 x1 1.0 4 yl 2.8 1 test passed 7 point dist 8.0 8 9 All tests passed 10 11 print( Points distance:", point_dist) Run Testing point dist with (1,2) and (1, 5) Your output 3 Testing point dist with (3, 4) and (6, 8)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
