<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
... but I'm not sure what you mean by "... with a for loop"?<br>
<span class="HOEnZb"><font color="#888888"><br>
-[]z.<br><br>
</font></span></blockquote></div><br><div>Maybe this? :</div><div>-----</div><div>x = [1,2,3]</div><div>y = [10,20,30]</div><div><div>for z in y:</div><div> x.append(z)</div></div><div><br></div><div>print x</div><div>
-----</div><div><br></div><div>But list.extend should be right way.</div><div><br></div><div>Cheers</div>