from binarytree import build
inp = [4, 2, 5, 1, 3, None, 6]
root = build(inp)
I have the above code in Jupyter Notebook. I can either print the root or just type root in a cells and they both give different outputs:
If I go to PyCharm, I cannot get the "image" as in Jupyter Notebook. So I would like to ask how does Jupyter Notebook handle the output from root to produce a "image" and how can I replicate it in PyCharm ?
Thanks very much.
