結果 : how to raise type error in python