Thanks for sharing your code,. instead of using size , you should implement __len__ , this way you can use len(my_stack) .
確定! 回上一頁