python 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 with inputs: 1.0 2.0 1.0 5.0 Points distance: 3.0

Respuesta :

The assignment statement written in Python is  point_dist = sqrt((x2 - x1)^2 + (y2 - y1)^2)

How to write the program in Python

The points are given as:

(x1, y1) and (x2, y2)

The distance is calculated as:

sqrt((x2 - x1)^2 + (y2 - y1)^2)

The program written in Python is as follows:

x1 = float(input("x1: "))

x2 = float(input("x2: "))

y1 = float(input("y1: "))

y2 = float(input("y2: "))

point_dist = sqrt((x2 - x1)^2 + (y2 - y1)^2)

print(point_dist)

Read more about Python programs at:

https://brainly.com/question/26497128

#SPJ1