I am trying to take two dimensional array input in python which can have n number of Rows and Columns. What I have tried is
x = raw_input()[2:-2].split(',')
My input is following
[[1,2,3,4],[5,1,2,3],[9,5,1,2]]
What output I am getting output
['1', '2', '3', '4]', '[5', '1', '2', '3]', '[9', '5', '1', '2']
I want to get array as same as my input.