Skip to content

Instantly share code, notes, and snippets.

@gunnarig
Created October 14, 2018 21:21
Show Gist options
  • Save gunnarig/09a7276cbb4730847074abbd8f1e70eb to your computer and use it in GitHub Desktop.
Save gunnarig/09a7276cbb4730847074abbd8f1e70eb to your computer and use it in GitHub Desktop.
def make_col(a_list_of_lists):
col_list = []
n = 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