In this video, I'll show you two ways to find the character position in a Python string. With these techniques, you'll be able to access characters in a string in a simple and straightforward way.
.find( char ) and .index( char ) both return index of the character. The difference comes in when the character is missing. Find returns a -1 and index throws a ValueErrror.