結果 : python raise error if value not in list