problem with list return type?
<p>my list has value such as</p>

<pre><code>m=[['na','1','2']['ka','31','45']['ra','3','5']

d=0
r=2

t=m[d][r]
print t         # this is givin number i.e 2
</code></pre>

<p>Now when I use this value</p>

<pre><code>u=[]
u=m[t]
</code></pre>

<p>I am getting an err msg saying type error list does take str values...</p>

<p>i want to use like this how can i convert that t into a integer??</p>

<p>please suggest..</p>

<p>thanks..</p>
