#list
m = [[1,2,3],[4,5,6],[7,8,9]]
subM = [row[1] for row in m];
print subM
print [row[1] + 1 for row in m]
print [row[1] + 1 for row in m if row[1]%2==0]
print [m[i][i] for i in [0,1,2] ]
#list
m = [[1,2,3],[4,5,6],[7,8,9]]
subM = [row[1] for row in m];
print subM
print [row[1] + 1 for row in m]
print [row[1] + 1 for row in m if row[1]%2==0]
print [m[i][i] for i in [0,1,2] ]