Why does this bool expression with 'or' return True? : <p>I am still working with bool logic.</p>

<p>I have this snippet and I don't understand why the result comes out True.</p>

<pre><code>flag = False
print(flag)
flag = flag or True
print(flag)
</code></pre>

<p>you get:</p>

<pre><code>&gt;&gt;False
&gt;&gt;True
</code></pre>

<p>Why is this happening? I am not sure how this works.</p>

<p>Is or supposed to give you any instance where the expression is True? </p>

<p>I get why this happens:</p>

<pre><code>check = (7 &gt; 60) or (7 &lt; 10)
print(check)
</code></pre>

<p>7 is less than 10, so the check expression is True</p>

<p>Thanks for the explanation. Just trying to work out bools in my head.</p>
