<prompt> Sagantaa uumi the fageenya qabxii lama gidduu jiru shallaga.nan  <response>: Kunoo sagantaa Paayitoonii salphaan fageenya qabxiilee lama gidduu jiru qindoomina x fi y isaanii kennameef shallagu: python import math def calculate_distancex1, y1, x2, y2: distance math.sqrtx2 - x1 2 y2 - y12 fageenya deebisuu x1 floatinputQabxii 1f x-qindeessituu galchi: y1 floatinputQabxii 1f y-qindeessituu galchi: . x2 floatinputQabxii 2 tiif qindoomina x galchi: y2 floatinputQabxii 2ffaaf y-qindeessaa galchi: distance calculate_distancex1, y1, x2, y2 printfFageenyi tuqaa 1 fi tuqaa 2 gidduu jiru fageenya Sagantaan kun fayyadamaan qindoomina x fi y qabxii lamaaf akka galchu gaafata. Sana booda, faankishinii calculate_distance fayyadamuun fageenya tuqaawwan lamaan gidduu jiru foormulaa fageenya Yuukiliidii irraa fayyadamuun shallaga: fageenya sqrtx2 - x12 y2 - y12. Dhumarratti, sagantichi fageenya shallagame fayyadamaa agarsiisa. 