Replace Value In A String Python Definition