string are splitted in 'list()' and not in '[]' why?
<p>I have been working in a project then I accidently 
discovered when I pass string,they are splitted in <code>list()</code> but when I pass the same string to  <code>[ ]</code> there is no splitting into single letters of  the string.</p>

<p>Can anyone tell me what happend here?</p>

<pre><code>&gt;&gt;&gt; y = list("hello")
&gt;&gt;&gt; y
['h', 'e', 'l', 'l', 'o']
&gt;&gt;&gt; z = ["hello"]
&gt;&gt;&gt; z
['hello']
</code></pre>