結果 : python check if tuple index out of range