title: What's the difference between list() and []
body: <p>What's the difference between the following code:</p>
  
  <pre><code>foo = list()
  </code></pre>
  
  <p>And</p>
  
  <pre><code>foo = []
  </code></pre>
  
  <p>Python suggests that there is one way of doing things but at times there seems to be more than one.</p>