結果 : how to implement a stack in python