Explain string boolean test result
<p>I have this code:</p>

<pre><code>&gt;&gt;&gt; char = 'A'
&gt;&gt;&gt; 'A' == char
True
&gt;&gt;&gt; ('A' or 'B') == char
True
</code></pre>

<p>Why does this not equal <code>True</code>?</p>

<pre><code>&gt;&gt;&gt; ('B' or 'A') == char
False
</code></pre>
