To be True or not to be True that is the boolean question ! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

To be True or not to be True that is the boolean question !

13th Jul 2017, 7:40 AM
Thierry Mousquès
Thierry Mousquès - avatar
2 Answers
+ 11
>>> be || !(be)
13th Jul 2017, 7:43 AM
Maz
Maz - avatar
+ 1
@Maz: >>> 2*b || ~2*b == '?'
13th Jul 2017, 8:51 AM
Igor B
Igor B - avatar