fork(1) download
  1. from sys import stdin
  2. import ast
  3. x = ast.literal_eval(stdin.readline())
  4.  
  5. for i in x:
  6. print i['age'], i['name']
Success #stdin #stdout 0.09s 10840KB
stdin
[{'name':'ry', 'age':28}, {'name':'bo', 'age':11}, {'name':'ed', 'age':99}]
stdout
28 ry
11 bo
99 ed