結果 : loop through dictionary backwards python