-
-
Save beltiras/f27ee8f5aa251e175a1d4c89b1a17620 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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