I’m trying to get a list of maximum values of columns in a matrix without Numpy. Im trying to write tons of codes but cant find the wanted output.

Here is my code:

```
list=[[12,9,10,5],[3,7,18,6],[1,2,3,3],[4,5,6,2]]
list2=[]
def maxColumn(m, column):
for row in range(len(m)):
max(m[row][column]) # this didn't work
x=len(list)+1
for column in range(x):
listt4.append(maxColumn(list, column))
print(list2)
```

And here is the wanted output:

`[12,9,18,6]`