# Pythagorean distance x0 = 0 y0 = 0 x1 = 4 y1 = 3 diff_x = x1 - x0 diff_y = y1 - y0 diff_x_squared = diff-x * diff-x diff_y_squared = diff_y * diff_y distance = (diff_Y_squared + diff_X_squared) ** 0.5 print(distance)