結果 : how to raise a type error in python