結果 : how to check empty stack in python