import math

xa = int(input("Podaj swoja pozycje X: "))
ya = int(input("Podaj swoja pozycje Y: "))

xb = int(input("Podaj docelowa pozycje X: "))
yb = int(input("Podaj docelowa pozycje Y: "))

print(f'Twoja pozycja: ({xa}, {ya})')
print(f'Docelowa pozycja: ({xb}, {yb})')

dx = xa - xb
dy = ya - yb

dx2 = dx ** 2
dy2 = dy ** 2

odleglosc = math.sqrt(dx2 + dy2);
print(f'Odleglosc to ({odleglosc})')