passing items from list to an empty object in another list
<p>I want to pass items from lists to the empty object in store i.e. I want:</p>

<pre><code>store = [ [['a', 'b'], ['c', 'd']], [] ]
</code></pre>

<p>I am getting an unintended result: </p>

<pre><code>lists = [['a', 'b'], ['c', 'd']]

store = [[], []]


counter = 0
for l in lists:
    for s in store:
        s.append(l)
</code></pre>

<p>which gives me:</p>

<pre><code>store = [[['a', 'b'], ['c', 'd']], [['a', 'b'], ['c', 'd']]]
</code></pre>

<p>How about simply doing this:</p>

<pre><code>store = [lists, []]
# value of 'store' = [[['a', 'b'], ['c', 'd']], []]
</code></pre>

<p>As I believe based on your question, that the desired O/P is:</p>

<pre><code>store = [ [['a', 'b'], ['c', 'd']], [] ]
</code></pre>

<p>from the input list:</p>

<pre><code>lists = [['a', 'b'], ['c', 'd']]
</code></pre>

python list nested-loops