12 lines
234 B
Python
Executable File
12 lines
234 B
Python
Executable File
from math import sqrt
|
|
|
|
print("Введите координаты x1,y1")
|
|
x1 = int(input())
|
|
y1 = int(input())
|
|
print("Веедите координаты x2,y2")
|
|
x2 = int(input())
|
|
y2 = int(input())
|
|
|
|
|
|
|
|
print(sqrt((x2-x1)**2+(y2-y1)**2)) |