import math
xa = int(input("Podaj swoją pozycję X"))
ya = int(input("Podaj swoją pozycję Y"))

xb = int(input("Podaj swoją docelową pozycję X"))
yb = int(input("Podaj swoją docelową pozycję Y"))

print(f'Twoja pozycja : {xa},{ya}')
print(f'Twoja docelowa pozycja : {xb},{yb}')

dx = xa - xb
dy = ya - yb

dx2 = dx ** 2
dy2 = dy ** 2
odleglosc = math.sqrt(dx2 + dy2)
print(f'Odległość to: {odleglosc}')
