Skip to content

Instantly share code, notes, and snippets.

@beltiras
Forked from gunnarig/old.py
Last active October 14, 2018 21:23
Show Gist options
  • Save beltiras/f27ee8f5aa251e175a1d4c89b1a17620 to your computer and use it in GitHub Desktop.
Save beltiras/f27ee8f5aa251e175a1d4c89b1a17620 to your computer and use it in GitHub Desktop.
def make_col(a_list_of_lists):
col_list = []
n = len(a_list_of_lists)
for n in range(len(a_list_of_lists)):
col = [l[n] for l in a_list_of_lists]
col_list.append(col)
print(col_list)
return col_list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment