結果 : index out of range exception in python