How do I convert
[(1,), (2,), (3,)]
to
[1, 2, 3]
Using simple list comprehension:
e = [(1,), (2,), (3,)] [i[0] for i in e]
will give you:
1.4m articles
1.4m replys
5 comments
57.0k users