What do you want to save?
Add Code snippet
New code examples
-
Python 2021-10-03 10:09:03
how to group lists per index in python
# initializing the list lists = [[1, 2, 3], [4, 5, 6], [7, 8, 9]] # empty list result = [] # variable to 0 index = 0 # iterating over the sub_list length (3) times for i in range(len(lists[0])): # appending an empty sub_list resu... Add solution
Best helpers
Ranking is empty