+ 3
Can you check please
5 ответов
+ 4
Hello, Polina !
Unfortunately, the Q / A section was created only on questions specifically related to programming, your question can not be related to the programming criteria
https://www.sololearn.com/discuss/1316935/?ref=app
0
Polina An point its represented with [x,y] couple but FOR EITHER POINTS.
Then you have read two x, and two y....
0
I don't think so, because it is reading it as the same variable
0
It's only the distance between one point in 2D to the origin.
As KrOW had already mentioned, you need input for x and y coordinate of BOTH points
Then the distance between point a=(x1,x2) and b=(x2,y2) is calculated by
sqrt((x1-x2)² + (y1-y2)²)
0
ah, okay, understand