'ValueError: not enough values to unpack (expected 2, got 0)'
<p>I am attempting to create list of lists using for loops in python. My plan is to use two separate loops; one loop to create big lists to put the small lists in, and another loop to create the small lists and append them to the big lists. </p>

<p>This is being used to make a 'battleship' type game where there is a 10x10 grid.</p>

<p>This is the chunk of code I am having difficult with:</p>

<pre><code>for i in range(0,10):
    (newlist,(i))=[]
</code></pre>

<p>The only task this specific code is meant to complete is to create 10 new lists, each with a different name. For example, the first circulation of the loop would create <code>list0</code>, the second circulation <code>list1</code> and so on up to <code>list9</code>.</p>

<p>Theoretically, I see nothing wrong with this code. It also does work when instead of creating a new list, you are putting a string into the new variable.</p>

<p>Whenever I run the program, I get the error </p>

<pre><code>ValueError: not enough values to unpack (expected 2, got 0)
</code></pre>

<p>I have no idea why this occurs, and would be very grateful if anyone here could help me out.</p>