python returning rows and columns from a matrix string

Solutions on MaxInterview for python returning rows and columns from a matrix string by the best coders in the world

showing results for - "python returning rows and columns from a matrix string"
Hanna
17 Jan 2018
1array = [ [1, 2, 3], [4, 5, 6] ]
2col2 = [ row[1] for row in array ]
3print(col2)
4
similar questions