Printing from lists
<p>I've got 3 different lists, all the data inside is coming from an external CSV file which works although how do I print each name with each number next to them</p>

<pre><code>name = [] 
number1 = [] 
number2 = []
</code></pre>

<p>for example expected output is, although I'm unsure how I would do this</p>

<pre><code>LOOP (12) as there is 12 names and numbers in each lsit
Test, 5, 20
</code></pre>

<p>Here's a way to do it using zip:</p>

<pre><code>for triplet in zip(name, number1, number2):
    print(", ".join(map(str, triplet)))
</code></pre>

<p>triplet is a 3-tuple <code>(a, b, c)</code> with the corresponding element from the 3 lists (in other words, they are zipped)</p>

python list