Following are the complete code to the given question:
Program:
import math as mx #import package
def point_dist (x1,y1,x2,y2):#defining a method point_dist that accepts four parameters
x= (float(x2)-float(x1))**2#defining x variable that calculates the x value
y= (float(y2)-float(y1))**2#defining y variable that calculates the y value
return(mx.sqrt(float(x)+float(y)))#useing return type that calculates SquareRootOf of x and y
x1 = float(input())#input x1 value
y1 = float(input())#input y1 value
x2 = float(input())#input x2 value
y2 = float(input())#input y2 value
print('Points distance: ',point_dist(x1,y1,x2,y2))#calling method
Output:
Please find the attachment file.
Program Explanation:
Learn more:
https://brainly.com/question/6548083