結果 : how to handle indexerror list index out of range in python