Value attribute, why required sometimes?
<p>I was playing around with python and cgi and was wondering why there is a difference between the two examples below:</p>

<p><strong>Example 1</strong> (partial)</p>

<pre><code>form = cgi.FieldStorage()
for field in form.keys():
    sys.stdout("%s ----&gt; %s&lt;br /&gt;" % (field, form[field].value))
</code></pre>

<p><strong>Example 2</strong></p>

<pre><code>form = {'one': '1', 'two': '2', 'three': '3'}
for field in form.keys():
    sys.stdout("%s ---&gt; %s\n" % (field, form[field]))
</code></pre>

<p>Why do you need the <code>.value</code> attribute in the first example, but in the second example you do not require it to return the key's value?</p>
