Why is this:
((256-438)^2)+((227-298)^2)
Giving me -253 when it should be 38165 instead?
^ is the bitwise exclusive OR operator (XOR)
** is the exponent operator, use:
((256-438)**2)+((227-298)**2)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With