a = float(input())
b = float(input())
c = float(input())
d = float(input())
distance = ((c -a) ** 2 + (d-b) ** 2)** 0.5 
print("Расстояние между точками: ", distance)

Embed on website

To embed this program on your website, copy the following code and paste it into your website's HTML: