結果 : how to check none condition in python