창작은 어렵다. 하지만 기록은 쉽다.

python : TypeError: list indices must be integers or slices, not list 본문

Python/Error Code

python : TypeError: list indices must be integers or slices, not list

2610 2020. 9. 15. 20:01

list indices must be integers or slices, not str

리스트의 인덱스는 문자열이 아니라 정수여야한다.

 

3x4 array에 쉼표 하나 안찍었다가 찾았다.

 

경력있는 개발자들은 자기 손을 믿지 않고 구글복붙을 더 신뢰한다는 말이 진짜라는걸 깨달았다 .

 

참고

www.codeit.kr/community/threads/7

Comments