結果 : python check if list index in range