4 сентября 2022
Ответсообщение недоступно
Euclidean formula is
( (x1 - x0)^2 + (y1 - y0)^2 )^(1/2)
And this exercise wants you to implement this formula in a python program.
Ответсообщение недоступно
Ok... think it this way that exercise says :
Write a python program that computes below formula when x0 = 2, y0 = 3, x1 = 10 and y1 = 8.
( (x1 - x0)^2 + (y1 - y0)^2 )^(1/2)
Master Of ScienceI have a doubt in this but did I got it correct
I think what the question really wants is that u use find or rfind methods and slice out the substring using the index that those methods gives u