On this one I think there is an error in the answers for this exercise ( Or I didn’t get it right )
word = "bananana"
i = word.find("na")
the stirring used in the question is ‘bananana’ so 3 of ‘na’ an. the answer is apparently 2
On this one I think there is an error in the answers for this exercise ( Or I didn’t get it right )
word = "bananana"
i = word.find("na")
the stirring used in the question is ‘bananana’ so 3 of ‘na’ an. the answer is apparently 2
Welcome, michaldybowski.
I think you might be confusing what .find
does. Review this section of the video:
Hope this clarifies
As expected… I didn’t get that right at the first time. Thanks!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.