Trying to converting a matrix 1*3 into a list,my_list = [col for row in matrix for col in row]