Modify the output of one jupyter cell from another?

Does anyone know if it is possible to modify the text portion of the output of a Jupyter cell from another cell? I don’t need to modify the values of variables. Just the text that appears.

The following link shows how to do it in Python: https://stackoverflow.com/questions/60803057/can-i-print-output-to-another-cell-in-a-jupyter-notebook