<br />
<br />
have the following:<br />
<br />
>>> x<br />
[['NM100', 1, 2], ['NM100', 3, 4], ['NM200', 5, 6]]<br />
>>> for i in x:<br />
... print i<br />
...<br />
['NM100', 1, 2]<br />
['NM100', 3, 4]<br />
['NM200', 5, 6]<br />
<br />
------<br />
how does one obtain list z such that<br />
<br />
z = [['NM100',1,2,3,4],['NM200',5,6]]<br />
<br><Table border=0 Width=644 Height=57 cellspacing=0 cellpadding=0 style="font-family:Verdana;font-size:11px;line-height:15px;"><TR><td><A HREF="http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?" target="_blank"><IMG SRC="http://sigads.rediff.com/RealMedia/ads/adstream_nx.ads/www.rediffmail.com/signatureline.htm@Middle"></A></td></TR></Table>