結果 : string index out of range 0 python