+ 1
booleans
guy i don't understand the maths behind booleans how is this true and why (2==10) 1. Is it because they are numbers
4 Answers
+ 6
Hendrick Motlhake != returns true if both the values are not same
+ 8
This is not true, it is false
Proof: https://code.sololearn.com/cvSZ2iyYUImd/?ref=app
+ 3
2 == 0b10 (decimal 2 is 10 in binary)
0
why this this work the 2!=10