write √(x2-x1)^2 + (y2-y1)^2 in python
Answers
Answered by
3
Answer:
Using laws of indices. Please inform for mistakes if any...
Explanation:
print("Distance Formula Calculator")
x2 = input (" ")
x1 = input (" ")
y2 = input (" ")
y1 = input (" ")
print([{(x2 - x1)**2} + {(y2 - y1)**2}]**(0.5))
Similar questions