fork download
  1. a = '[[1,3],[2,3],[2,4]]'
  2.  
  3. b = eval(a)
  4.  
  5. for i in [x[0] for x in b]:
  6. print("x좌표 {}".format(i))
Success #stdin #stdout 0.01s 28384KB
stdin
Standard input is empty
stdout
x좌표 1
x좌표 2
x좌표 2