title: One line for loop to multiple lines python
body: <p>I've got trouble reverting below one line loop to multiple lines loop. here is the original code:</p>
  
  <pre><code>sequences = [[[item.strip() for item in itemset.split(",")] for itemset in sequence] for sequence in sequences]
  </code></pre>
  
  <p>Multiple line loop that I tried:</p>
  
  <pre><code>for sequence in sequences:
   for itemset in sequence:
      for item in itemset.split(","):
         sequences.append(item.strip())
  </code></pre>
  
  <p>It does not work as the original one. Any idea?</p>