結果 : python detect nonetype