apple = ("It is Apple")

index = apple.index("p")

print (index)

index = apple.index("p", index + 1)

print (index)


했을 때는 7 8 로 잘 인식되는데  index = apple.index("p")  이 문장을 지우면 오류 나더라고요

그래서 index = apple.index("p", index + 1)  이 코드 좀 설명해 주실 수 있나여?