input = "[[0,0,0,0],[0,1,1,0],[0,1,1,1],[0,0,0,0]]" # = sys.argv[1] output = eval(input) print(type(input))print(type(output))
Standard input is empty
<class 'str'> <class 'list'>
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!