Python Version of Perl = || (= Or)
<p>I can't seem to find a python way of saying </p>

<pre><code>x = y or 1
</code></pre>

<p>In Perl:</p>

<pre><code>$x = $y || 1;
</code></pre>

<p>Is there a nice way to do this in python?</p>
