+ 1
I cant understand this....> 1 != 1 False >>> "eleven" != "seven" True >>> 2 != 10 True.... with true of false
help
2 Answers
0
! simply means NOT, so 1!=1 means 1 is not equal to 1, which is false
0
!= means " not equal to "
So "eleven" != "seven" is true because the strings are different
And 2!=10 is equally true
Note that for strings the spaces and uppercase/lower case are relevant
so "two" != "TWO" is still true
and also "one" != " one"