結果 : python raise error in if statement