結果 : how to compare none in python