Replace Part Of A String Python Functions Interview