+ 1

I cant understand this....> 1 != 1 False >>> "eleven" != "seven" True >>> 2 != 10 True.... with true of false

help

31st Jan 2018, 8:44 PM
Reptilian Hermit
Reptilian Hermit - avatar
2 ответов
0
! simply means NOT, so 1!=1 means 1 is not equal to 1, which is false
31st Jan 2018, 8:48 PM
rafal
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"
31st Jan 2018, 9:04 PM
ifl
ifl - avatar