Any suggestions on what i have to do to go from x to y?

>>> x = [['cat','NM123',12],['cat','NM234',12], ['dog', 'NM56',65]]
>>> x
[['cat', 'NM123', 12], ['cat', 'NM234', 12], ['dog', 'NM56', 65]]
>>> y = []
>>> y = [['cat','NM123, NM234', 12], ['dog', 'NM56', 65]]
>>>

Regards
Vik
_______________________________________________
BangPypers mailing list
BangPypers@python.org
https://mail.python.org/mailman/listinfo/bangpypers

Reply via email to