結果 : indexerror list index out of range in while loop python