結果 : stack using dictionary in python