Why single element tuple is interpreted as that element in python?
<p>Could anyone explain why single element tuple is interpreted as that element in Python?</p>

<p>And</p>

<p>Why don't they just print the tuple <code>(1,)</code> as <code>(1)</code>?</p>

<p>See the examples below:</p>

<pre><code>&gt;&gt;&gt; (1)
1
&gt;&gt;&gt; ((((1))))
1
&gt;&gt;&gt; print(1,)
1
&gt;&gt;&gt; print((1,))
(1,)
</code></pre>