I am trying to write a program that sums the integers in the odd columns of a list

```
def sum_of_odd_cols(x):
    for j in range(len(x)):
        odds=[x[k][j] for k in range(len(x)) if j%2!=0]
    return sum(odds)

x=[[1,2,5],[3,4,6],[7,8,9]]
print(sum_of_odd_cols(x))

```

What I get from this is '0', why is this happening?

Also one more question

```
x=[[1,2,5],[3,4,6],[7,8,9]]
for j in range(len(x)):
    col=[column[j] for column in x]

```

this also seems to create a list of the columns in list x, however I don't understand how this works
is 'column' a built in function in python?