Find Index Function In Python For String