+ 1

How I got answer as 7 in below given code

https://code.sololearn.com/cbq02aDa8A34/?ref=app

10th Mar 2022, 1:25 AM
SILENCEOID
SILENCEOID - avatar
3 odpowiedzi
+ 1
You are starting your search at index 4 therefore the first occurance of 'e' is at index 7. Index start at 0
10th Mar 2022, 1:31 AM
William Owens
William Owens - avatar
+ 1
10th Mar 2022, 1:51 AM
SILENCEOID
SILENCEOID - avatar