結果 : implement stack program in python