Replace Two Characters In String Python Definition