Separate String Python Functions