banana = "banana" banana.find("a") #1 banana.find("a",2) #3
>>> str = "Messi is the best soccer player" >>> str.find("soccer") 18 >>> str.find("Ronaldo") -1 >>> str.find("Messi") 0