fork(3) download
  1. dic = {'759147': 54, '186398060': 8, '199846203': 42, '191725321': 10, '158947719': 4}
  2. for item in sorted(dic, key = dic.get):
  3. print (dic[item])
Success #stdin #stdout 0.01s 9992KB
stdin
Standard input is empty
stdout
4
8
10
42
54