title: I tried converting the tuples in a list of tuples using range and code worked but when i tried the same using 'for i in list:' it is not working:
body: <pre><code>lst = [(8, 7), (9, 6), (4, 8), (3, 5), (9, 4)]
  
  for i in range(len(lst)):
      lst[i] = list(lst[i])
  </code></pre>
  <p>this is working fine.</p>
  <pre><code>for i in lst:
      i = list(i)
  </code></pre>
  <p>but this is not working. I don't know why ? Can anyone please tell me the reason ?</p>