Replace Value In String Python Definition