Trouver le personnage dans Python
banana = "banana"
banana.find("a")
#1
banana.find("a",2)
#3
Iheb-404 not found
banana = "banana"
banana.find("a")
#1
banana.find("a",2)
#3
>>> myString = 'Position of a character'
>>> myString.find('s')
2
>>> myString.find('x')
-1