#python #anaconda #jupyter-notebook #visual-code #html #css #javascript #http

제목step15 binary search 질문2020-05-24 05:35
작성자

mb-file.php?path=2020%2F05%2F24%2FF1164_%EC%BA%A1aaaaaaaaasdf%EC%B2%98.PNG

 

 if 0<=i<len(lst) and lst[i]==value:
이부분에서 0<=i<len(lst)이 왜 필요한것인지 이해가 되지 않습니다
i는 언제나 0<=i<len(lst)를 만족하지 않나요?
댓글
이전[re]step15마지막 실습문제 질문2020-05-24
다음[re]step15 binary search 질문2020-05-24