python global variable
<pre><code>def say_boo_twice():
  global boo
  boo = 'Boo!'
  print boo, boo

boo = 'boo boo'
say_boo_twice()
</code></pre>

<p>The out put is `</p>

<blockquote>
  <p>Boo! Boo!</p>
</blockquote>

<p>`. Not as I expected. Coz I declarared boo as global. why the output is not:</p>

<blockquote>
  <p>boo boo boo boo</p>
</blockquote>
