I have a list of lists (will grow) and I don't know how many elements it has, but all the lists will have all the time the same lenth of elements.
For example if I have:
new=[]
new.append(users)
new.append(users_count)
new.append(users_avg)
print(new)
lst2 = [item[0] for item in new]
print(lst2)
In this case the output will be:
[['ser', 'admin', 'emma', 'paul'], [2, 10, 5, 9], [33, 37, 16, 67]]
['ser', 2, 33]
What it is correct, but I would like to get:
['ser', 2, 33]
['admin', 10, 37]
['emma', 5, 16]
['paul', 9, 67]
i.e the first value of each of the lists in a new list, the second value of each list, the third value of each list and so on (always will be three lists but the elements inside will grow).