title: Why does namedtuple in python need a name?
body: <p>Why do we need to mention the name <code>Card</code> for <code>namedtuple</code> like below?</p>
  
  <pre><code>import collections
  
  Card = collections.namedtuple('Card', ['rank', 'suit'])
  </code></pre>
  
  <p>I think a simple <code>Card = collections.namedtuple(['rank', 'suit'])</code> can actually give the same effect right?</p>
  
  <p>For example I can have the same information in a dict like:</p>
  
  <pre><code>card = dict({'rank': 'A', 'suit': 'spade'})
  </code></pre>