Here is my solution for the universal value tree problem in Python.
Click below to download:
universal.py (a raw Python file)
universal.ipynb (a Jupyter Notebook file)