title: Why does random.shuffle return None?
body: <p>Why is <code>random.shuffle</code> returning <code>None</code> in Python?</p>
  
  <pre><code>&gt;&gt;&gt; x = ['foo','bar','black','sheep']
  &gt;&gt;&gt; from random import shuffle
  &gt;&gt;&gt; print shuffle(x)
  None
  </code></pre>
  
  <p>How do I get the shuffled value instead of <code>None</code>?</p>