結果 : how to catch index error python