brnoX = -598112 brnoY = -1160187 ostravaX = -470650 ostravaY = -1101660 ## Calculate coordinate difference (triangle sides in Pythagorean theorem) dX = brnoX - ostravaX dY = brnoY - ostravaY ## Calculate the distance using the Pythagorean theorem distance = (dX ** 2 + dY ** 2) ** 0.5 ## Print the results print "Distance from Brno to Ostrava:", distance, "meters." # or like this: print "Distance from Brno to Ostrava: " + str(distance) + " meters."