a = '[[1,3],[2,3],[2,4]]' b = eval(a) for i in [x[0] for x in b]: print("x좌표 {}".format(i))
Standard input is empty
x좌표 1 x좌표 2 x좌표 2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!