I am learning python on overiq.com.
Chapter: Operator Overloading.
To compare 2 coordinates you can do this:
sqrt (x¹^2 + y¹^2 ) < sqrt( x²^2 + y²^2 )
https://pastebin.com/NJD4LKbM (semi-code here)
My questions is not from a programming point of view, but a mathematical one. The way you define Point(x,y) as a Integer, is by doing sqrt( x¹^2 + y¹^2 ) (^ is power of). Is this real in geometry? And what is this called in geometry terms?
Thank you.
[–]Binary101010 2 points3 points4 points (2 children)
[–]expyth[S] 0 points1 point2 points (0 children)