結果 : how to define a stack in python