Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
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
3 Antworten
+ 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