What is the difference between 3 == 3 and not("testing" == "testing" or "Ruby" == "Fun")
and 3 == 3 && !("testing" == "testing" or "Ruby" == "Fun")
?
The first one gives true
and last one gives false
. I thought that and
is as same as &&
and not is same as !