結果 : check top of stack python