On 12/03/2012 11:58 AM, subhabangal...@gmail.com wrote:
[(1,2), (3,4)]
>>> L=[(1,2), (3,4)] >>> >>> [b for a in L for b in a] [1, 2, 3, 4]
-- Dr. Gary Herron Department of Computer Science DigiPen Institute of Technology (425) 895-4418 -- http://mail.python.org/mailman/listinfo/python-list