[Tutor] List of tuples

isaac tetteh itetteh34 at hotmail.com
Tue Apr 19 16:56:54 EDT 2016


I have a list like this 
[
("name",2344,34, "boy"),("another",345,47,"boy", "last")
]
How do u get each value from it like 
Output 
name
2344
34
...

What i did was 
for row in list_tuple:
    for row2 in row:
        return row

But i get error  too many value to unpack 

Please help

Sent from my iPhone


More information about the Tutor mailing list