Python Boolean: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Python Language =Overview= <syntaxhighlight lang='python'> x = True type(x) <class 'bool'> </syntaxhighlight> =Operators= ==OR <tt>|</...")
 
Line 8: Line 8:
</syntaxhighlight>
</syntaxhighlight>
=Operators=
=Operators=
==OR <tt>|</tt> and <tt>|=</tt>==
==OR: <tt>|</tt> and <tt>|=</tt>==

Revision as of 19:39, 15 April 2022

Internal

Overview

x = True
type(x)
<class 'bool'>

Operators

OR: | and |=