結果 : if stack is empty python