파이썬 리스트에서 특정 아이템의 인덱스 찾기
조회수 54713회
1 답변
-
다음과 같이 쓰시면 됩니다.
["hello","python","world","!"].index("world")
다른 시퀀스 타입 메소드는 Mutable Sequence Types를 참고하세요
다음과 같이 쓰시면 됩니다.
["hello","python","world","!"].index("world")
다른 시퀀스 타입 메소드는 Mutable Sequence Types를 참고하세요
댓글 입력