Assign point_dist with the distance between point (x1, y1) and point (x2, y2). the calculation is: distance = squarerootof( (x2
- x1)2 + (y2 - y1)2 ). sample output for the given program:
1 answer:
<span>import math
def calculateDistance(x1,y1,x2,y2):
dist = math.sqrt((x2 - x1)**2 + (y2 - y1)**2)
return dist
distance = calculateDistance(2,4,6,8)
print distance</span>
You might be interested in
Answer: None
Step-by-step explanation: They are parallel and would never intersect
You can do 4 10/14 + 3 7/14
For the GCF the answer is 7
Answer:
(8,1)
Step-by-step explanation:
answer :
120 + 6 = 126
explanation:
sa calculator lang yan haha jk
pero yan talaga ang sagot promise hindi ako ng bo-bola haha stay safe and stay positive na lang huwag lang sa c o vi d