Index Method String Python Functions With Default