Python

python파이썬 IndexError: string index out of range 오류

9D 2022. 8. 26. 01:59
728x90

IndexError: string index out of range

 

에러는 index 범위가 아니라는 뜻이니

 

배열로 가져올때 index 값이 나올수 없는 경우

 

 

위 와같이 0,1,2,3 인데 5번째를 찾았기때문.

 

 

728x90