You are viewing a single comment's thread. Return to all comments →
someone please explain difference between this two
p = s.index(e,p) + 1
p = s[p:].index(e) + 1
I'm failing while using second expression
Thanks.
Seems like cookies are disabled on this browser, please enable them to open this website
HackerRank in a String!
You are viewing a single comment's thread. Return to all comments →
someone please explain difference between this two
p = s.index(e,p) + 1
p = s[p:].index(e) + 1
I'm failing while using second expression
Thanks.