summaryrefslogtreecommitdiff
path: root/progs/unparsable_programs/a97.py
blob: 3aabcc94238d14250b9cd3d6db79321afe3ec5c7 (plain)
1
2
3
def sort_dict_item(test_dict):
  res = {key: test_dict[key] for key in sorted(test_dict.keys(), key = lambda ele: ele[1] * ele[0])}
  return  (res)