結果 : list index out of range error python for loop