結果 : how to check none type object in python