Python: Removing tuples from a list of lists

Posted by sarah on Stack Overflow See other posts from Stack Overflow or by sarah
Published on 2010-03-14T15:13:33Z Indexed on 2010/03/14 15:25 UTC
Read the original article Hit count: 187

Filed under:
|
|

I have a list of lists containing tuples:

[[(1L,)], [(2L,)], [(3L,)], [(4L,)], [(5L,)]

how do i edit the list so the list looks like:

l = [[1][2][3][4][5]]

© Stack Overflow or respective owner

Related posts about python

Related posts about list