summaryrefslogtreecommitdiff
path: root/comp/work/26/tree.py
blob: 428f3aa2eaa13f1c9e1da442f1320762f62ac0af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
tree = [
    ['a', ['b']],
    ['b', ['c']],
    ['c', ['c']]
]


def convertTree(myTree):
    output = []
    return output

print(convertTree(tree))