tableData = [['apples', 'oranges', 'cherries', 'banana'],
            ['Alice', 'Bob', 'Carol', 'David'],
            ['dogs', 'cats', 'moose', 'goose']]


def printTable(data):
    colWidths = [0] * len(tableData),
    for x in tableData:
        for y in tableData:
            if len(y) > len(y + 1)
    print(colWidths)

printTable(tableData)
