I am trying to create a matrix transpose function for python but I can\'t seem to make it work. Say I have
theArray = [[\'a\',\'b\',\'c\'],[\'d\',\'e\',\'f\
`
def transpose(m): return(list(map(list,list(zip(*m)))))
`This function will return the transpose