結果 : how to throw a type error python