結果 : how to solve typeerror in python