I am trying to print outputs of each of the list next to each-other. Unfortunately I can only print the outputs of each list underneath one another.
tableData = [['apples', 'oranges', 'cherries', 'banana'],
            ['Alice', 'Bob', 'Carol', 'David'],
            ['dogs', 'cats', 'moose', 'goosee']]
            
for i in tableData:
    new_list_i = []
    word_list_i = []
    for word in i:
        new_list_i.append(len(word))
        word_list_i.append(word)
    #print(word_list_i)
    max_per_i = max(new_list_i)
    #print(max_per_i)
    
    for b in word_list_i:
        print((((b).rjust(max_per_i))))
        
How can I fix it? My format would be 4X3 and I am trying not to use an actual table, numpy or any other module.
Thanks in advance, I am sure it's something simple for someone with experience.
 
     
    