title: How can I get the nth element of String for list of list in python?
body: <p>I have my txt file something like this.</p>
  
  <pre><code>[0, "we break dance not hearts by Short Stack is my ringtone.... i LOVE that !!!.....\n"]
  [1, "I want to write a . I think I will.\n"]
  [2, "@va_stress broke my twitter..\n"]
  [3, "\" &amp;quot;Y must people insist on talking about stupid politics on the comments of a bubblegum pop . Sorry\n"]
  [4, "aww great  &amp;quot;Picture to burn&amp;quot;\n"]
  </code></pre>
  
  <p>I have a some code which want to access the 2nd element of each array. When I use the code from <a href="https://stackoverflow.com/questions/13188476/get-the-nth-element-from-the-inner-list-of-a-list-of-lists-in-python">Get the nth element from the inner list of a list of lists in Python</a> It is giving each characters but not the entire string.</p>
  
  <p>What could be the best way to make a loop for getting second element?</p>
  
  <p>My code is something like this.</p>
  
  <p>ALl the tweets are in the tweets[] list.</p>
  
  <pre><code>cluster = []
  for idx, cls in enumerate(km.labels_):
      if cls == 1:
          # printing cluster 2 data.
          # print tweets from the tweets array. like the entire line. But I 
          # want to get the String here not the entire line.
          print tweets[idx]
          cluster.append(tweets[idx])
  </code></pre>
  
  <p>Here, idx element is used to get specific queries. so tweets[idx] will print specific queries from the text file but It is printing the entire line like [2, "@va_stress broke my twitter..\n"] and I want string element only.</p>