Skip to content

🎡️ Playground

This playground is pre-installed with bigtree and the Python standard libraries. Play around with the codes. Have fun!

>>> from bigtree import list_to_tree
>>> root = list_to_tree(["a/b", "a/c", "a/b/d", "a/b/e", "a/c/f", "a/b/e/g", "a/b/e/h"])
>>> root.show()
a
├── b
│   ├── d
│   └── e
│       ├── g
│       └── h
└── c
    └── f