cara menemukan lokasi karakter dalam string di python
>>> myString = 'Position of a character'
>>> myString.find('s')
2
>>> myString.find('x')
-1
Obedient Ox
>>> myString = 'Position of a character'
>>> myString.find('s')
2
>>> myString.find('x')
-1