Please help me with the task: Draw a way to a safe place.

Hello, I’m working on this task:

Write a program that calculates and outputs to the screen the distance from your position (blue dot) to the destination (red dot).

Here is my code:


import math
x1, y1 = 0, 0  # Example coordinates for your position
x2, y2 = 10, 10  # Example coordinates for the destination
distance = math.sqrt((x2 - x1)**2 + (y2 - y1)**2)
print("The distance to the destination is", distance, "meters")

Can anyone please help me to solve it?