Index Method String Python Functions With Parameters In Python