Hi I have following text block:
abcd
efgh
ijkl
mnop
I want to put columns and rows in different lists. I managed to make rows list because it is obvious but still struggling with columns.
rowsList = []
columnsList = []
block = open("asd.txt", "r").read().split('\n')
for line in block:
rowsList.append(line)
#['abcd', 'efgh', 'ijkl']
for i in range(len(rowsList)):
for j in range(len(rowsList[i])):
???