¡@

Home 

python Programming Glossary: inbar

Why does `a == b or c or d` always evaluate to True? [duplicate]

http://stackoverflow.com/questions/20002503/why-does-a-b-or-c-or-d-always-evaluate-to-true

name sys.stdin.readline .strip if name Kevin or Jon or Inbar print Access granted. else print Access denied. It grants access.. stated to only grant access when name equals Kevin Jon or Inbar. I have also tried the opposite logic if Kevin or Jon or Inbar.. I have also tried the opposite logic if Kevin or Jon or Inbar name but the result is the same. python boolean boolean expression..