Does this mean that for this or operator when the Frist argument is true then it returns true and of the Frist argument is false | SoloLearn: Learn to code for FREE!

0

Does this mean that for this or operator when the Frist argument is true then it returns true and of the Frist argument is false

6/14/2020 7:06:20 PM

Chisom Ndubuizu

3 Answers

New Answer

+4

Worth to know, that for not specifically boolean tasks, or operator assumes the first True argument. So: 3 or 4 will be 3, as this is the first argument which is True

+2

If at least one of both is True, then 'or' returns True.

+2

Chisom Ndubuizu A or B is True, if A or B is 1. So 1 or 0=1 0 or 1=1 1 or 1=1 0 or 0=0