結果 : how to check for none value in python